Changes the description of one service code. The path names the type and code, and domain in the body names the domain. Send domain as * to change a system-wide code. domain is required: a write without it returns 400. Send "domain": "*" to address a system-wide code, which needs Super User scope.Requires Office Manager scope or above for your own domain, Reseller scope for the domains in your territory, or Super User scope for any domain. System-wide codes, with domain*, are shared by every domain. Only Super User scope can create, change, or delete them. Any other scope gets 403.srvcode-item and srvcode-code in the body are optional. If you send them, they must match the path, or the answer is 400. domain is read from the body, never from the query string.A 202 means the change is accepted and applied shortly after. The API does not check that the code exists first. To change a domain's own code, PUT /domains/{domain}/servicecode/{type}/{code} puts the domain in the path.
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.