Add scopes to the tenant-level permission ceiling for CIMD clients. Database-backed scopes are referenced by ID; Management API scopes can never be selected.
POST
/api/cimd/user-consent-scopes
curl \
--request POST 'https://[tenant_id].logto.app/api/cimd/user-consent-scopes' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"organizationScopes":["string"],"resourceScopes":["string"],"organizationResourceScopes":["string"],"userScopes":["profile"]}'
Request examples
{
"organizationScopes": [
"string"
],
"resourceScopes": [
"string"
],
"organizationResourceScopes": [
"string"
],
"userScopes": [
"profile"
]
}