Key Management

Validate API key

Check if the API key is valid. Returns the organization UUID, API key ID, and associated scopes.

get/api/v2/validate

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/validate
  • Auth
    API key in header DD-API-KEY

Response

OK

Example response

{
  "data": {
    "attributes": {
      "api_key_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
      "api_key_scopes": [
        "remote_config_read"
      ],
      "valid": true
    },
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "type": "validate_v2"
  }
}

Changes

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