curl -X GET 'https://api.example.com/scope-types' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "type_org",
"name": "Organization",
"description": "Top-level organization scope"
},
{
"id": "type_team",
"name": "Team",
"description": "Team within an organization"
},
{
"id": "type_project",
"name": "Project",
"description": "Project within a team"
}
]
Retrieve all scope types in the system
curl -X GET 'https://api.example.com/scope-types' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "type_org",
"name": "Organization",
"description": "Top-level organization scope"
},
{
"id": "type_team",
"name": "Team",
"description": "Team within an organization"
},
{
"id": "type_project",
"name": "Project",
"description": "Project within a team"
}
]
curl -X GET 'https://api.example.com/scope-types' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "type_org",
"name": "Organization",
"description": "Top-level organization scope"
},
{
"id": "type_team",
"name": "Team",
"description": "Team within an organization"
},
{
"id": "type_project",
"name": "Project",
"description": "Project within a team"
}
]
Was this page helpful?