Changes the description of one of a domain's service codes. The path names the code completely, so the body usually carries only srvcode-description. Requires Office Manager scope or above for your own domain, Reseller scope for a domain in your territory, or Super User scope.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Body Params application/jsonRequired
Examples
Responses
🟢202Accepted
application/json
The change is accepted and applied shortly after this response. The API does not check that the code exists first.
Bodyapplication/json
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/domains//servicecode/%2A/hotdesk' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"srvcode-description": "Hot desk user (shared phone)"
}'