cURL
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 } }
Updates an existing blocklist rule
Enter your Bearer token in the format "Bearer {token}"
UUID of the blocklist rule to update
Rule updated successfully
The response is of type object.
object