Skip to main content
GET
http://localhost:3000
/
scopes
/
{id}
/
children
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"
  }
]

Path Parameters

id
string
required
The parent scope ID

Response

Returns an array of child scope objects.
scopes
array
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"
  }
]