Key Management

Validate API and application keys

Check that the API key and application key used for the request are both valid. Returns {"status": "ok"} on success, 401 or 403 otherwise. Useful as a lightweight authentication probe before issuing other API calls that require full credentials.

get/api/v2/validate_keys

Request

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

Response

OK

status'ok' required

Status of the validation. Always ok when both the API key and the application key are valid.

Example response

{
  "status": "ok"
}

Changes

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