User Authorized Clients

List user authorized clients

Get a list of all OAuth2 clients authorized by the current user.

get/api/v2/user_authorized_clients

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/user_authorized_clients
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: built_in_features

Query parameters

page[size]integer
Example:10

Size for a given page. The maximum allowed value is 100.

page[number]integer

Specific page number to return.

filterstring

Filter results by client name, app title, or app description.

filter[disabled]string

Filter results by the user-level disabled status.

includestring

Comma-separated list of related resources to include. Options: oauth2_client, oauth2_client.app.

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"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.