Skip to main content
PATCH
/
inbound
/
filters
/
blocklist
/
{uuid}
Update domain blocklist rule
curl --request PATCH \
  --url https://api.jetemail.com/inbound/filters/blocklist/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "enabled": true,
  "senders": [
    {}
  ],
  "recipients": [
    {}
  ],
  "subjects": [
    {}
  ],
  "body": [
    {}
  ],
  "headers": [
    {}
  ],
  "ips": [
    {}
  ],
  "size": {},
  "attachments": [
    {}
  ]
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key for account management endpoints. Use your api_ prefixed token.

Path Parameters

uuid
string<uuid>
required

UUID of the blocklist rule to update

Body

application/json
name
string
Maximum string length: 100
description
string | null
Maximum string length: 500
enabled
boolean
senders
object[]
recipients
object[]
subjects
object[]
body
object[]
headers
object[]
ips
object[]
size
object
attachments
object[]

Response

Rule updated successfully

success
boolean
Example:

true