Skip to main content
PUT
/
api
/
mail
/
general
/
block
Adds a domain or subject to the mail block list.
curl --request PUT \
  --url https://{tenant}.ekso.app/api/mail/general/block \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "block": "<string>",
  "data": "<string>"
}
'

Authorizations

Authorization
string
header
required

JWT Bearer token. Obtain via the OAuth 2.0 token endpoint.

Body

The block type ("subject" or "domain") and the value to block.

block
string
data
string

Response

Block list entry added successfully.