Skip to main content
DELETE
http://localhost:3000
/
subjects
/
{id}
curl -X DELETE 'https://api.example.com/subjects/sub_123' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}

Path Parameters

id
string
required
The unique identifier of the subject to delete

Response

Returns a success confirmation.
Deleting a subject will also remove all associated memberships and role assignments.
curl -X DELETE 'https://api.example.com/subjects/sub_123' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}