Skip to main content
PUT
/
accounts
/
{accountId}
/
email-domains
Update approved email domains
curl --request PUT \
  --url https://api.equalsmoney.com/v2/accounts/{accountId}/email-domains \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domains": [
    "example.com"
  ],
  "sessionId": "string",
  "mfaCode": "string",
  "customerIp": "string"
}
'
{
  "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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

accountId
string
required

The ID of the account to work with.

Example:

"F50091"

Body

application/json

Body

domains
string[]
required

Array of approved email domains.

Maximum array length: 100
sessionId
string
mfaCode
string
customerIp
string

Response

200 - application/json

OK

count
integer
required

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

Example:

67

rows
object[]
required
limit
integer
default:100

The maximum number of results to return.

Required range: 1 <= x <= 1000
Example:

200

offset
integer
default:0

The number of items to skip before returning results.

Example:

100