Domain
Overview
| Description | Method | Endpoint |
|---|---|---|
| Create domain | POST |
/hosting/api/client/{clientId}/domain |
| Read all domains | GET |
/hosting/api/client/{clientId}/domain |
| Read domain | GET |
/hosting/api/client/{clientId}/domain/{domainId} |
| Update domain | PUT |
/hosting/api/client/{clientId}/domain/{domainId} |
| Remove domain | DELETE |
/hosting/api/client/{clientId}/domain/{domainId} |
Create domain
Endpoint:/hosting/api/client/{clientId}/domain
Method:POST
Query:
{clientId}: string - The ID of a CCM19-client account
Payload:Domain
Response:
201- Resource successfully created- Domain
400- Invalid or missing properties
Read all domains
Endpoint:/hosting/api/client/{clientId}/domain
Method:GET
Query:
{clientId}: string - The ID of a CCM19-client account
Response:
200- Success- Domain[]
Read domain
Endpoint:/hosting/api/client/{clientId}/domain/{domainId}
Method:GET
Query:
{clientId}: string - The ID of a CCM19-customer account{domainId}: string - The ID of a domain that exists in the client account
Response:
200- Success- Domain
404- Resource not found
Update domain
Endpoint:/hosting/api/client/{clientId}/domain/{domainId}
Method:PUT
Query:
{clientId}: string - The ID of a CCM19-customer account{domainId}: string - The ID of a domain that exists in the client account
Payload:Domain
Response:
200- Success- Domain
400- Invalid or missing properties404- Resource not found
Remove domain
Endpoint:/hosting/api/client/{clientId}/domain/{domainId}
Method:DELETE
Query:
{clientId}: string - The ID of a CCM19-customer account{domainId}: string - The ID of a domain that exists in the client account
Response:
204- Resource successfully deleted404- Resource not found