v1

latestOpenAPI 3.1.02026-07-2616459400.5 KB
Domain APIs

Allocate Domain to Subaccount

This API assigns an existing domain to a specific sub-account within your CPaaS environment. Ensure the domain is already created and unallocated before invoking this endpoint. Each domain can be associated with only one sub-account at a time. You must have valid credentials and the necessary permissions to allocate domains to sub-accounts.

post/domains/allocate

Headers

Acceptstring required
Example:application/json

Expected response format (e.g., application/json)

Content-Typestring required
Example:application/json

Format of the request body (e.g., application/json)

Request body

subaccount_usernamestring required

Username of the sub-account to which the domain will be allocated.

domain_namestring required

Fully qualified domain name to be allocated.

Response

Domain successfully allocated.