Skip to main content
PATCH
/
inbound
/
account
/
allowlist
/
{id}
Update account-level allowlist rule
curl --request PATCH \
  --url https://api.jetemail.com/inbound/account/allowlist/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "priority": 123,
  "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

id
integer
required

ID of the account allowlist rule to update

Body

application/json
name
string
Maximum string length: 100
description
string | null
Maximum string length: 500
priority
integer
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