curl --request DELETE \
--url http://localhost/api/api/whitelist/{id}/delete \
--header 'Authorization: Bearer <token>'{
"detail": "Whitelist record successfully deleted"
}Allows users to delete a whitelist row using either pk (URL) or a combination of subject and bucket in the request body.
curl --request DELETE \
--url http://localhost/api/api/whitelist/{id}/delete \
--header 'Authorization: Bearer <token>'{
"detail": "Whitelist record successfully deleted"
}JWT token obtained from AWS Cognito or custom authentication service
A unique integer value identifying this whitelist.
Whitelist entry deleted successfully
Success message indicating whitelist record was deleted
"Whitelist record successfully deleted"