Add Account Domain
This document contains details for adding a domain to an account via the /api/v1/account/{accountUuid}/domain endpoint, including requirements and request/response examples.
Last updated
Was this helpful?
This document contains details for adding a domain to an account via the /api/v1/account/{accountUuid}/domain endpoint, including requirements and request/response examples.
Use this endpoint to add a new domain if domain adding is enabled. The domain must be resolvable and must not be assigned to another account.
Endpoint
Method
POST
Request URL
/api/v1/account/{accountUuid}/domain
Headers
Authorization *
Bearer TOKEN
Content-Type
application/json
Request
accountUuid *
Target account UUID
Body
{
"domain": "google.com"
}{
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"accountUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"domain": "google.com",
"status": "UNVERIFIED"
}The created domain starts with the UNVERIFIED status. Continue with Verify Account Domain.
200
Success
400
Bad request
401
Not authorized
403
Forbidden
409
Domain is already in use
Last updated
Was this helpful?
Was this helpful?
{
"domain": "string"
}