Skip to content

Update an existing email blocklist entry​

PATCH
/api/admin/emailblocklist/{id}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

id*
Type
string
Required
Pattern
"\\d+"

Request Body​

application/json
JSON
{
  
"email": "*@spam-domain.com",
  
"reason": "Spam domain",
  
"isActive": true
}

Responses​

Entry updated successfully

application/json
JSON
{
  
"id": 123,
  
"email": "blocked@example.com",
  
"reason": "Spam",
  
"isActive": true,
  
"createdAt": "2026-08-09 07:30:00",
  
"createdBy": 42,
  
"updatedAt": "2026-08-09 08:00:00",
  
"updatedBy": 42
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​