---
title: Cliente público OAuth2
description: Configure clientes OAuth2 para Datadog. Admite el registro dinámico de clientes RFC 7591 y la gestión de restricciones de ámbitos de clientes OAuth2.
breadcrumbs: Documentación > API > Cliente público OAuth2
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/llms.txt).

# Cliente público OAuth2

Configure clientes OAuth2 para Datadog.
Admite el registro dinámico de clientes RFC 7591 y la gestión de restricciones de ámbitos de clientes OAuth2.

## [Register an OAuth2 client](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/oauth2-client-public/register-an-oauth2-client.md) (preview)

| Datadog site      | API endpoint                                              |
| ----------------- | --------------------------------------------------------- |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/oauth2/register     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/oauth2/register |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/oauth2/register |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/oauth2/register      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/oauth2/register |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/oauth2/register |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/oauth2/register |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/oauth2/register      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/oauth2/register  |

## [Get an OAuth2 client scopes restriction](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/oauth2-client-public/get-an-oauth2-client-scopes-restriction.md) (preview)

| Datadog site      | API endpoint                                                                             |
| ----------------- | ---------------------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/oauth2/clients/{client_uuid}/scopes_restriction      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction  |

## [Upsert an OAuth2 client scopes restriction](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/oauth2-client-public/upsert-an-oauth2-client-scopes-restriction.md) (preview)

| Datadog site      | API endpoint                                                                              |
| ----------------- | ----------------------------------------------------------------------------------------- |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/oauth2/clients/{client_uuid}/scopes_restriction      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction  |

## [Delete an OAuth2 client scopes restriction](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/oauth2-client-public/delete-an-oauth2-client-scopes-restriction.md) (preview)

| Datadog site      | API endpoint                                                                                |
| ----------------- | ------------------------------------------------------------------------------------------- |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/oauth2/clients/{client_uuid}/scopes_restriction      |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| uk1.datadoghq.com | DELETE https://api.uk1.datadoghq.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/oauth2/clients/{client_uuid}/scopes_restriction  |

## [Get OAuth2 well-known sites](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/oauth2-client-public/get-oauth2-well-known-sites.md) (preview)

| Datadog site      | API endpoint                                                      |
| ----------------- | ----------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/oauth2/.well-known/sites     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/oauth2/.well-known/sites |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/oauth2/.well-known/sites |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/oauth2/.well-known/sites      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/oauth2/.well-known/sites |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/oauth2/.well-known/sites |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/oauth2/.well-known/sites |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/oauth2/.well-known/sites      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/oauth2/.well-known/sites  |

## [Get OpenID Connect provider metadata](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/oauth2-client-public/get-openid-connect-provider-metadata.md) (preview)

| Datadog site      | API endpoint                                                                     |
| ----------------- | -------------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://app.datadoghq.com/api/v2/oauth2/.well-known/openid-configuration     |
| us3.datadoghq.com | GET https://app.us3.datadoghq.com/api/v2/oauth2/.well-known/openid-configuration |
| us5.datadoghq.com | GET https://app.us5.datadoghq.com/api/v2/oauth2/.well-known/openid-configuration |
| app.datadoghq.eu  | GET https://app.datadoghq.eu/api/v2/oauth2/.well-known/openid-configuration      |
| ap1.datadoghq.com | GET https://app.ap1.datadoghq.com/api/v2/oauth2/.well-known/openid-configuration |
| ap2.datadoghq.com | GET https://app.ap2.datadoghq.com/api/v2/oauth2/.well-known/openid-configuration |
| uk1.datadoghq.com | GET https://app.uk1.datadoghq.com/api/v2/oauth2/.well-known/openid-configuration |
| app.ddog-gov.com  | GET https://app.ddog-gov.com/api/v2/oauth2/.well-known/openid-configuration      |
| us2.ddog-gov.com  | GET https://app.us2.ddog-gov.com/api/v2/oauth2/.well-known/openid-configuration  |
