POST
/
excluded-domains
curl --request POST \
  --url https://api.amplemarket.com/excluded-domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.amp+json' \
  --data '{
  "excluded_domains": [
    {
      "domain": "<string>"
    }
  ]
}'
{
  "existing_domain.com": "duplicated",
  "new_domain.com": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.amp+json
excluded_domains
object[]
required

Response

200
application/vnd.amp+json
Successful
{key}
enum<string>
Available options:
success,
duplicated,
error