List all the user consent scopes of an application.
List all the user consent scopes of an application by application id
Path parameters
-
The unique identifier of the application.
GET
/api/applications/{applicationId}/user-consent-scopes
curl \
-X GET https://[tenant_id].logto.app/api/applications/{applicationId}/user-consent-scopes \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"organizationScopes": [
{
"id": "string",
"name": "string",
"description": "string"
}
],
"resourceScopes": [
{
"resource": {
"id": "string",
"name": "string",
"indicator": "string"
},
"scopes": [
{
"id": "string",
"name": "string",
"description": "string"
}
]
}
],
"organizationResourceScopes": [
{
"resource": {
"id": "string",
"name": "string",
"indicator": "string"
},
"scopes": [
{
"id": "string",
"name": "string",
"description": "string"
}
]
}
],
"userScopes": [
"profile"
]
}