PATCH
/
inbound
/
blocklist
/
{uuid}
curl --request PATCH \
  --url https://api.jetemail.com/inbound/blocklist/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "from",
  "action": "block",
  "value": "[email protected]",
  "notes": "Updated spam account"
}'
{
  "success": true,
  "rule": {
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "type": "from",
    "action": "block",
    "value": "[email protected]",
    "notes": "Known spam sender",
    "last_modified": 1735689600
  }
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format "Bearer {token}"

Path Parameters

uuid
string
required

UUID of the blocklist rule to update

Body

application/json

Response

200
application/json

Rule updated successfully

The response is of type object.