blocked-sources

Block a source

post/v1/workspaces/{workspaceId}/blocked-sources

Request

  • Base URL: https://api.dispatchtickets.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dispatchtickets.com/v1/workspaces/{workspaceId}/blocked-sources
  • Auth: HTTP bearer

Request body

type'EMAIL' | 'DOMAIN' required

Type of source to block (EMAIL or DOMAIN)

valuestring required

The email address or domain to block

reasonstring

Optional reason for blocking

Example request

{
  "type": "EMAIL",
  "value": "spammer@example.com",
  "reason": "Known spam sender"
}

Response

Source blocked

Changes

No recorded changes to this operation across all 1 revision of this API.