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

Path Parameters

id
string
required
The unique identifier of the scope type to delete

Response

Returns a success confirmation.
Deleting a scope type will fail if there are scopes using this type. Remove all scopes of this type first.
curl -X DELETE 'https://api.example.com/scope-types/type_dept' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}