curl -X GET 'https://api.example.com/scopes?ids=scope_1,scope_2' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "scope_1",
"name": "Acme Organization",
"typeId": "type_org",
"externalId": "org-acme"
},
{
"id": "scope_2",
"name": "Engineering Team",
"typeId": "type_team",
"externalId": "team-eng"
}
]
Retrieve scopes by their IDs
curl -X GET 'https://api.example.com/scopes?ids=scope_1,scope_2' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "scope_1",
"name": "Acme Organization",
"typeId": "type_org",
"externalId": "org-acme"
},
{
"id": "scope_2",
"name": "Engineering Team",
"typeId": "type_team",
"externalId": "team-eng"
}
]
curl -X GET 'https://api.example.com/scopes?ids=scope_1,scope_2' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "scope_1",
"name": "Acme Organization",
"typeId": "type_org",
"externalId": "org-acme"
},
{
"id": "scope_2",
"name": "Engineering Team",
"typeId": "type_team",
"externalId": "team-eng"
}
]
Was this page helpful?