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/oauth2-client-public/get-oauth2-well-known-sites.md. A documentation index is available at /llms.txt.
Language
Datadog site

Get OAuth2 well-known sites

警告Note: This endpoint is in preview and is subject to change. If you have any feedback, contact Datadog support.
GEThttps://api.datadoghq.com/api/v2/oauth2/.well-known/siteshttps://api.us3.datadoghq.com/api/v2/oauth2/.well-known/siteshttps://api.us5.datadoghq.com/api/v2/oauth2/.well-known/siteshttps://api.datadoghq.eu/api/v2/oauth2/.well-known/siteshttps://api.ap1.datadoghq.com/api/v2/oauth2/.well-known/siteshttps://api.ap2.datadoghq.com/api/v2/oauth2/.well-known/siteshttps://api.uk1.datadoghq.com/api/v2/oauth2/.well-known/siteshttps://api.ddog-gov.com/api/v2/oauth2/.well-known/siteshttps://api.us2.ddog-gov.com/api/v2/oauth2/.well-known/sites

概要

Retrieve the list of public OAuth2 sites available for the current environment. This endpoint is used for OAuth2 discovery and returns sites where users can authenticate.

応答

OK

Response payload containing the list of public OAuth2 sites for discovery.

フィールド
タイプ
説明
data [required]
object

Data object containing OAuth2 well-known sites information.

コード例

Get OAuth2 well-known sites
# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"

curl -X GET "https://api.${DD_SITE}/api/v2/oauth2/.well-known/sites" \
-H "Accept: application/json"
# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"

curl -X GET "https://api.${DD_SITE}/api/v2/oauth2/.well-known/sites" \
-H "Accept: application/json"
# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"

curl -X GET "https://api.${DD_SITE}/api/v2/oauth2/.well-known/sites" \
-H "Accept: application/json"
# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"

curl -X GET "https://api.${DD_SITE}/api/v2/oauth2/.well-known/sites" \
-H "Accept: application/json"
# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"

curl -X GET "https://api.${DD_SITE}/api/v2/oauth2/.well-known/sites" \
-H "Accept: application/json"
# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"

curl -X GET "https://api.${DD_SITE}/api/v2/oauth2/.well-known/sites" \
-H "Accept: application/json"
# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"

curl -X GET "https://api.${DD_SITE}/api/v2/oauth2/.well-known/sites" \
-H "Accept: application/json"
# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"

curl -X GET "https://api.${DD_SITE}/api/v2/oauth2/.well-known/sites" \
-H "Accept: application/json"
# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"

curl -X GET "https://api.${DD_SITE}/api/v2/oauth2/.well-known/sites" \
-H "Accept: application/json"