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.

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

Request example

[
    {
        "domain": "google.com"
    }
]

Response example

{
    "uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "accountUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "domain": "google.com",
    "status": "UNVERIFIED"
}

Last updated