Add a new domain to the list of blocked domains

View as Markdown
Blocks a new domain in order to avoid messages being sent to the same

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

OR
AuthorizationBearer

OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.

Request

Name of the domain to be blocked
domainstringRequired
name of the domain to be blocked

Response

Domain is successfully blocked

Errors

400
Bad Request Error