v1

latestOpenAPI 3.1.0UNLICENSED2026-07-2613101.1 MB
Email domains

Update approved email domains

Updates the list of approved email domains for a given account.

put/accounts/{accountId}/email-domains

Path parameters

accountIdstring required

The ID of the account to work with.

Example:F50091

Request body

domainsstring[] required

Array of approved email domains.

sessionIdstring
mfaCodestring
customerIpstring

Example request

{
  "domains": [
    "example.com"
  ],
  "sessionId": "string",
  "mfaCode": "string",
  "customerIp": "string"
}

Response

OK

limitinteger

The maximum number of results to return.

offsetinteger

The number of items to skip before returning results.

countinteger required

The total amount of records matching the querying when "limit" is ignored.

Example response

{
  "limit": 200,
  "offset": 100,
  "count": 67,
  "rows": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "accountId": "F50091",
      "name": "example.com",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}