PUT
/
v3
/
contact-blacklist-rules
/
domains
/
{id}
Update a domain blacklist rule
curl --request PUT \
  --url https://api.reply.io/v3/contact-blacklist-rules/domains/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "pattern": "example.com"
}
'
{
  "id": 123,
  "pattern": "<string>",
  "isGlobal": true
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header

Path Parameters

id
integer
required

Domain blacklist rule ID

Body

application/json

Request body for updating a domain blacklist rule

pattern
string
required

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

Example:

"example.com"

Response

Domain blacklist rule updated successfully

A blacklist rule that blocks a domain pattern

id
integer

Unique identifier of the rule

pattern
string

Domain pattern to blacklist

isGlobal
boolean

Whether this is a global (system-wide) rule