curl -X GET 'https://api.example.com/scopes/scope_team/parents' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "scope_org",
"name": "Acme Organization",
"typeId": "type_org"
}
]
Retrieve all parent scopes of a child scope
curl -X GET 'https://api.example.com/scopes/scope_team/parents' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "scope_org",
"name": "Acme Organization",
"typeId": "type_org"
}
]
curl -X GET 'https://api.example.com/scopes/scope_team/parents' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "scope_org",
"name": "Acme Organization",
"typeId": "type_org"
}
]
Was this page helpful?