Skip to main content
DELETE
/
api
/
whitelist
/
{id}
Delete a Whitelist record using ID
curl --request DELETE \
  --url https://api.example.com/api/whitelist/{id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "Whitelist record successfully deleted"
}

Authorizations

Authorization
string
header
required

JWT token obtained from AWS Cognito or custom authentication service

Path Parameters

id
integer
required

A unique integer value identifying this whitelist.

Response

204 - application/json

Whitelist record successfully deleted

Success message indicating whitelist record was deleted

detail
string
required
Example:

"Whitelist record successfully deleted"