v1

latestOpenAPI 3.1.02026-07-26359254.7 MB
Contact Blacklist Rules

Update a domain blacklist rule

<small>Requires the contacts:write scope (or a broader one that includes it).</small>

Updates an existing domain blacklist rule.

put/v3/contact-blacklist-rules/domains/{id}

Path parameters

idinteger required

Domain blacklist rule ID

Request body

patternstring required

Domain pattern to blacklist. Must be a valid domain format (e.g., example.com, spam-domain.net)

Example request

{
  "pattern": "example.com"
}

Response

Domain blacklist rule updated successfully

idinteger

Unique identifier of the rule

patternstring

Domain pattern to blacklist

isGlobalboolean

Whether this is a global (system-wide) rule