Skip to main content
PUT
/
contact-blacklist-rules
/
emails
/
{id}
Update an email blacklist rule
curl --request PUT \
  --url https://api.reply.io/v3/contact-blacklist-rules/emails/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "pattern": "<string>"
}
'
{
  "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

Email blacklist rule ID

Body

application/json

Request body for updating an email blacklist rule

pattern
string
required

Email pattern to blacklist

Response

Email blacklist rule updated successfully

A blacklist rule that blocks an email pattern

id
integer
required

Unique identifier of the rule

pattern
string
required

Email pattern to blacklist

isGlobal
boolean
required

Whether this is a global (system-wide) rule