PUT /API/CLIENT/{ID}
Update an existing client account details.
REQUEST BODY
domainname | The domain name |
---|---|
companyname | The company name [optional] |
owneremail | The owner email address [optional] |
ownerfirstname | The owner first name [optional] |
ownerlastname | The owner last name [optional] |
ownerphonenumber | The owner phone number. Only digits are valid [optional] |
RESULT CODE
200 | OK |
---|---|
400 | Bad request |
401 | Unauthorized |
404 | Not found |
406 | SSL must be used |
500 | Server Error |
EXAMPLE REQUEST
Example;- PUT https://api.calln.com/client/1234 {"domainname":"voitekkclient","company":"voitekkclient","email":"[email protected]","firstname":"Test","lastname":"G","phonenumber":"565465"} Result;- 200 (OK)
USING CURL
curl "https://api.calln.com/api/client/{id}" -H "Authorization: Basic username:password | base64" -X PUT -d "{'domainname':'voitekkclient','company':'voitekkclient','email':'[email protected]','firstname':'Test','lastname':'G','phonenumber':'565465'}"