Skip to main content
GET
http://localhost:3000
/
scope-hierarchy
/
{scopeId}
/
parents
curl -X GET 'https://api.example.com/scope-hierarchy/scope_team/parents' \
  -H 'Authorization: Bearer YOUR_TOKEN'
[
  {
    "id": "scope_org",
    "name": "Acme Organization",
    "typeId": "type_org"
  }
]

Path Parameters

scopeId
string
required
The child scope ID to get parents for

Response

Returns an array of parent scope objects.
scopes
array
curl -X GET 'https://api.example.com/scope-hierarchy/scope_team/parents' \
  -H 'Authorization: Bearer YOUR_TOKEN'
[
  {
    "id": "scope_org",
    "name": "Acme Organization",
    "typeId": "type_org"
  }
]