v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
OAuth2 Client Public

Get an OAuth2 client scopes restriction

Get the scopes restriction configured for the OAuth2 client.

get/api/v2/oauth2/clients/{client_uuid}/scopes_restriction

Path parameters

client_uuidstring uuid required
Example:fafa8e1c-36a5-11f0-a83d-da7ad0900001

UUID of the OAuth2 client.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "required_permission_scopes": [
        "mobile_app_access"
      ],
      "scopes_restriction": {
        "oidc_scopes": [
          "openid",
          "email"
        ],
        "permission_scopes": [
          "dashboards_read",
          "metrics_read"
        ]
      }
    },
    "id": "fafa8e1c-36a5-11f0-a83d-da7ad0900001",
    "type": "scopes_restriction"
  }
}