Deletes one service code. The path names the type and code, and domain in the body names the domain. Send domain as * to delete 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.domain is read from the body, never from the query string. srvcode-description is ignored if you send it.A 202 means the delete is accepted and applied shortly after. Deleting a code that does not exist is accepted too. Users whose service-code names the deleted code keep that value: GET /domains/{domain}/billing reports how many users carry each code. To delete a domain's own code, DELETE /domains/{domain}/servicecode/{type}/{code} needs no body.
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 delete is accepted and applied shortly after this response.