v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
User Authorized Clients

Get a user authorized client

Get a single OAuth2 client authorization for the current user.

get/api/v2/user_authorized_clients/{user_authorized_client_id}

Path parameters

user_authorized_client_idstring required
Example:00000000-0000-0000-0000-000000000001

The ID of the user authorized client.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "created_at": "2024-01-10T08:00:00+00:00",
      "last_exercised": "2024-01-15T10:30:00+00:00",
      "modified_at": "2024-01-10T08:00:00+00:00"
    },
    "id": "00000000-0000-0000-0000-000000000001",
    "relationships": {
      "oauth2_client": {
        "data": {
          "id": "00000000-0000-0000-0000-000000000010",
          "type": "oauth2_clients"
        }
      },
      "scopes": {
        "data": [
          {
            "id": "example_scope",
            "type": "scopes"
          }
        ]
      },
      "user": {
        "data": {
          "id": "00000000-0000-9999-0000-000000000001",
          "type": "users"
        }
      }
    },
    "type": "user_authorized_clients"
  }
}