For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/ja/api/latest/key-management.md. A documentation index is available at /llms.txt.
Language
Datadog site

Key Management

Datadog API とアプリケーションキーを管理します。このエンドポイントとやり取りするには、必要な権限を持つユーザー用の API キーとアプリケーションキーが必要です。API およびアプリケーションキーの完全なリストは、Datadog API ページで確認できます。

API キーの削除

DELETEhttps://api.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.us3.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.us5.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.datadoghq.eu/api/v2/api_keys/{api_key_id}https://api.ap1.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.ap2.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.uk1.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.ddog-gov.com/api/v2/api_keys/{api_key_id}https://api.us2.ddog-gov.com/api/v2/api_keys/{api_key_id}

すべての API キーを取得

GEThttps://api.datadoghq.com/api/v2/api_keyshttps://api.us3.datadoghq.com/api/v2/api_keyshttps://api.us5.datadoghq.com/api/v2/api_keyshttps://api.datadoghq.eu/api/v2/api_keyshttps://api.ap1.datadoghq.com/api/v2/api_keyshttps://api.ap2.datadoghq.com/api/v2/api_keyshttps://api.uk1.datadoghq.com/api/v2/api_keyshttps://api.ddog-gov.com/api/v2/api_keyshttps://api.us2.ddog-gov.com/api/v2/api_keys

API キーの作成

POSThttps://api.datadoghq.com/api/v2/api_keyshttps://api.us3.datadoghq.com/api/v2/api_keyshttps://api.us5.datadoghq.com/api/v2/api_keyshttps://api.datadoghq.eu/api/v2/api_keyshttps://api.ap1.datadoghq.com/api/v2/api_keyshttps://api.ap2.datadoghq.com/api/v2/api_keyshttps://api.uk1.datadoghq.com/api/v2/api_keyshttps://api.ddog-gov.com/api/v2/api_keyshttps://api.us2.ddog-gov.com/api/v2/api_keys

API キーの編集

PATCHhttps://api.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.us3.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.us5.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.datadoghq.eu/api/v2/api_keys/{api_key_id}https://api.ap1.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.ap2.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.uk1.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.ddog-gov.com/api/v2/api_keys/{api_key_id}https://api.us2.ddog-gov.com/api/v2/api_keys/{api_key_id}

API キーを取得する

GEThttps://api.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.us3.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.us5.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.datadoghq.eu/api/v2/api_keys/{api_key_id}https://api.ap1.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.ap2.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.uk1.datadoghq.com/api/v2/api_keys/{api_key_id}https://api.ddog-gov.com/api/v2/api_keys/{api_key_id}https://api.us2.ddog-gov.com/api/v2/api_keys/{api_key_id}

アプリケーションキーの削除

DELETEhttps://api.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.us3.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.us5.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.datadoghq.eu/api/v2/application_keys/{app_key_id}https://api.ap1.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.ap2.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.uk1.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.ddog-gov.com/api/v2/application_keys/{app_key_id}https://api.us2.ddog-gov.com/api/v2/application_keys/{app_key_id}

すべてのアプリケーションキーを取得

GEThttps://api.datadoghq.com/api/v2/application_keyshttps://api.us3.datadoghq.com/api/v2/application_keyshttps://api.us5.datadoghq.com/api/v2/application_keyshttps://api.datadoghq.eu/api/v2/application_keyshttps://api.ap1.datadoghq.com/api/v2/application_keyshttps://api.ap2.datadoghq.com/api/v2/application_keyshttps://api.uk1.datadoghq.com/api/v2/application_keyshttps://api.ddog-gov.com/api/v2/application_keyshttps://api.us2.ddog-gov.com/api/v2/application_keys

アプリケーションキーの編集

PATCHhttps://api.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.us3.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.us5.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.datadoghq.eu/api/v2/application_keys/{app_key_id}https://api.ap1.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.ap2.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.uk1.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.ddog-gov.com/api/v2/application_keys/{app_key_id}https://api.us2.ddog-gov.com/api/v2/application_keys/{app_key_id}

アプリケーションキーを作成する

POSThttps://api.datadoghq.com/api/v1/application_keyhttps://api.us3.datadoghq.com/api/v1/application_keyhttps://api.us5.datadoghq.com/api/v1/application_keyhttps://api.datadoghq.eu/api/v1/application_keyhttps://api.ap1.datadoghq.com/api/v1/application_keyhttps://api.ap2.datadoghq.com/api/v1/application_keyhttps://api.uk1.datadoghq.com/api/v1/application_keyhttps://api.ddog-gov.com/api/v1/application_keyhttps://api.us2.ddog-gov.com/api/v1/application_key

アプリケーションキーの取得

GEThttps://api.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.us3.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.us5.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.datadoghq.eu/api/v2/application_keys/{app_key_id}https://api.ap1.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.ap2.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.uk1.datadoghq.com/api/v2/application_keys/{app_key_id}https://api.ddog-gov.com/api/v2/application_keys/{app_key_id}https://api.us2.ddog-gov.com/api/v2/application_keys/{app_key_id}

現在のユーザーが所有するアプリケーションキーを削除します

DELETEhttps://api.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.us3.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.us5.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.datadoghq.eu/api/v2/current_user/application_keys/{app_key_id}https://api.ap1.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.ap2.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.uk1.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.ddog-gov.com/api/v2/current_user/application_keys/{app_key_id}https://api.us2.ddog-gov.com/api/v2/current_user/application_keys/{app_key_id}

現在のユーザーが所有するアプリケーションキーを編集します

PATCHhttps://api.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.us3.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.us5.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.datadoghq.eu/api/v2/current_user/application_keys/{app_key_id}https://api.ap1.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.ap2.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.uk1.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.ddog-gov.com/api/v2/current_user/application_keys/{app_key_id}https://api.us2.ddog-gov.com/api/v2/current_user/application_keys/{app_key_id}

現在のユーザーが所有するアプリケーションキーを 1 つ取得します

GEThttps://api.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.us3.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.us5.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.datadoghq.eu/api/v2/current_user/application_keys/{app_key_id}https://api.ap1.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.ap2.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.uk1.datadoghq.com/api/v2/current_user/application_keys/{app_key_id}https://api.ddog-gov.com/api/v2/current_user/application_keys/{app_key_id}https://api.us2.ddog-gov.com/api/v2/current_user/application_keys/{app_key_id}

現在のユーザーのアプリケーションキーを作成します

POSThttps://api.datadoghq.com/api/v2/current_user/application_keyshttps://api.us3.datadoghq.com/api/v2/current_user/application_keyshttps://api.us5.datadoghq.com/api/v2/current_user/application_keyshttps://api.datadoghq.eu/api/v2/current_user/application_keyshttps://api.ap1.datadoghq.com/api/v2/current_user/application_keyshttps://api.ap2.datadoghq.com/api/v2/current_user/application_keyshttps://api.uk1.datadoghq.com/api/v2/current_user/application_keyshttps://api.ddog-gov.com/api/v2/current_user/application_keyshttps://api.us2.ddog-gov.com/api/v2/current_user/application_keys

現在のユーザーが所有するすべてのアプリケーションキーを取得する

GEThttps://api.datadoghq.com/api/v2/current_user/application_keyshttps://api.us3.datadoghq.com/api/v2/current_user/application_keyshttps://api.us5.datadoghq.com/api/v2/current_user/application_keyshttps://api.datadoghq.eu/api/v2/current_user/application_keyshttps://api.ap1.datadoghq.com/api/v2/current_user/application_keyshttps://api.ap2.datadoghq.com/api/v2/current_user/application_keyshttps://api.uk1.datadoghq.com/api/v2/current_user/application_keyshttps://api.ddog-gov.com/api/v2/current_user/application_keyshttps://api.us2.ddog-gov.com/api/v2/current_user/application_keys

Create a personal access token

POSThttps://api.datadoghq.com/api/v2/personal_access_tokenshttps://api.us3.datadoghq.com/api/v2/personal_access_tokenshttps://api.us5.datadoghq.com/api/v2/personal_access_tokenshttps://api.datadoghq.eu/api/v2/personal_access_tokenshttps://api.ap1.datadoghq.com/api/v2/personal_access_tokenshttps://api.ap2.datadoghq.com/api/v2/personal_access_tokenshttps://api.uk1.datadoghq.com/api/v2/personal_access_tokenshttps://api.ddog-gov.com/api/v2/personal_access_tokenshttps://api.us2.ddog-gov.com/api/v2/personal_access_tokens

Get all access tokens

GEThttps://api.datadoghq.com/api/v2/personal_access_tokenshttps://api.us3.datadoghq.com/api/v2/personal_access_tokenshttps://api.us5.datadoghq.com/api/v2/personal_access_tokenshttps://api.datadoghq.eu/api/v2/personal_access_tokenshttps://api.ap1.datadoghq.com/api/v2/personal_access_tokenshttps://api.ap2.datadoghq.com/api/v2/personal_access_tokenshttps://api.uk1.datadoghq.com/api/v2/personal_access_tokenshttps://api.ddog-gov.com/api/v2/personal_access_tokenshttps://api.us2.ddog-gov.com/api/v2/personal_access_tokens

Get a personal access token

GEThttps://api.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.us3.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.us5.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.datadoghq.eu/api/v2/personal_access_tokens/{token_id}https://api.ap1.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.ap2.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.uk1.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.ddog-gov.com/api/v2/personal_access_tokens/{token_id}https://api.us2.ddog-gov.com/api/v2/personal_access_tokens/{token_id}

Update a personal access token

PATCHhttps://api.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.us3.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.us5.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.datadoghq.eu/api/v2/personal_access_tokens/{token_id}https://api.ap1.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.ap2.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.uk1.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.ddog-gov.com/api/v2/personal_access_tokens/{token_id}https://api.us2.ddog-gov.com/api/v2/personal_access_tokens/{token_id}

Revoke a personal access token

DELETEhttps://api.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.us3.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.us5.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.datadoghq.eu/api/v2/personal_access_tokens/{token_id}https://api.ap1.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.ap2.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.uk1.datadoghq.com/api/v2/personal_access_tokens/{token_id}https://api.ddog-gov.com/api/v2/personal_access_tokens/{token_id}https://api.us2.ddog-gov.com/api/v2/personal_access_tokens/{token_id}

Validate API keypreview

GEThttps://api.datadoghq.com/api/v2/validatehttps://api.us3.datadoghq.com/api/v2/validatehttps://api.us5.datadoghq.com/api/v2/validatehttps://api.datadoghq.eu/api/v2/validatehttps://api.ap1.datadoghq.com/api/v2/validatehttps://api.ap2.datadoghq.com/api/v2/validatehttps://api.uk1.datadoghq.com/api/v2/validatehttps://api.ddog-gov.com/api/v2/validatehttps://api.us2.ddog-gov.com/api/v2/validate

Validate API and application keys

GEThttps://api.datadoghq.com/api/v2/validate_keyshttps://api.us3.datadoghq.com/api/v2/validate_keyshttps://api.us5.datadoghq.com/api/v2/validate_keyshttps://api.datadoghq.eu/api/v2/validate_keyshttps://api.ap1.datadoghq.com/api/v2/validate_keyshttps://api.ap2.datadoghq.com/api/v2/validate_keyshttps://api.uk1.datadoghq.com/api/v2/validate_keyshttps://api.ddog-gov.com/api/v2/validate_keyshttps://api.us2.ddog-gov.com/api/v2/validate_keys