curl -X GET 'https://api.example.com/scopes/scope_org/children' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "scope_team_1",
"name": "Engineering Team",
"typeId": "type_team"
},
{
"id": "scope_team_2",
"name": "Marketing Team",
"typeId": "type_team"
}
]
Retrieve all child scopes of a parent scope
curl -X GET 'https://api.example.com/scopes/scope_org/children' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "scope_team_1",
"name": "Engineering Team",
"typeId": "type_team"
},
{
"id": "scope_team_2",
"name": "Marketing Team",
"typeId": "type_team"
}
]
curl -X GET 'https://api.example.com/scopes/scope_org/children' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "scope_team_1",
"name": "Engineering Team",
"typeId": "type_team"
},
{
"id": "scope_team_2",
"name": "Marketing Team",
"typeId": "type_team"
}
]
Was this page helpful?