跳到主要内容

getScopes

List getScopes()

GET /api/2.0/oauth2/scopes

List available OAuth2 scopes

Retrieves a list of all available OAuth2 scopes for the specified tenant. The scopes define the permissions that can be requested by OAuth2 clients. The list is ordered alphabetically, with the 'openid' scope always appearing first. It is a read-only catalogue that does not depend on which clients exist: a valid portal signature is the only requirement, with no role restriction, and every caller of the portal sees the same list.

Parameters​

This endpoint does not need any parameter.

Responses​

Status codeDescriptionTypeResponse headers
200Scopes successfully retrievedList-
403Insufficient permissions to list scopesProblemDetail-
406The Accept header does not allow application/jsonProblemDetail-
429Too many requests - rate limit exceededProblemDetail-
500Internal server error occurredProblemDetail-
405The HTTP method is not allowed for this pathProblemDetail-

Return type​

List

Authorization​

x-signature

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json