Skip to main content
DELETE
http://localhost:3000
/
scope-type-hierarchy
/
{parentTypeId}
/
{childTypeId}
curl -X DELETE 'https://api.example.com/scope-type-hierarchy/type_org/type_team' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}

Path Parameters

parentTypeId
string
required
The parent scope type ID
childTypeId
string
required
The child scope type ID

Response

Returns a success confirmation.
Removing a type hierarchy edge may affect existing scope hierarchies that rely on this relationship.
curl -X DELETE 'https://api.example.com/scope-type-hierarchy/type_org/type_team' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true
}