PATCH
/
inbound
/
allowlist
/
{uuid}
curl --request PATCH \
  --url https://api.jetemail.com/inbound/allowlist/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "from",
  "value": "<string>",
  "notes": "<string>"
}'
{
  "success": true,
  "rule": {
    "uuid": "<string>",
    "type": "<string>",
    "action": "<string>",
    "value": "<string>",
    "notes": "<string>",
    "last_modified": 123
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

uuid
string
required

UUID of the allowlist rule to update

Body

application/json

Response

200
application/json

Rule updated successfully

The response is of type object.