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"
}
]
Get all parent scopes in the hierarchy
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"
}
]
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"
}
]
Was this page helpful?