---
title: Asignaciones de AuthN
description: La API de asignaciones de AuthN se utiliza para asignar automáticamente grupos de usuarios a roles en Datadog mediante atributos enviados desde…
breadcrumbs: Documentación > API > Asignaciones de AuthN
---

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

# Asignaciones de AuthN

[La API de asignaciones de AuthN](https://docs.datadoghq.com/account_management/authn_mapping.md?tab=example)
se utiliza para asignar automáticamente grupos de usuarios a roles en Datadog mediante atributos
enviados desde proveedores de identidad. Utilice estos puntos de conexión para administrar sus AuthN Mappings.

## [Ver el AuthN Mapping correspondiente a un UUID](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/authn-mappings/get-an-authn-mapping-by-uuid.md)

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

## [Editar un AuthN Mapping](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/authn-mappings/edit-an-authn-mapping.md)

| Datadog site      | API endpoint                                                                 |
| ----------------- | ---------------------------------------------------------------------------- |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/authn_mappings/{authn_mapping_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/authn_mappings/{authn_mapping_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/authn_mappings/{authn_mapping_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/authn_mappings/{authn_mapping_id}      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/authn_mappings/{authn_mapping_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/authn_mappings/{authn_mapping_id} |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/authn_mappings/{authn_mapping_id} |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/authn_mappings/{authn_mapping_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/authn_mappings/{authn_mapping_id}  |

## [Eliminar un AuthN Mapping](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/authn-mappings/delete-an-authn-mapping.md)

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

## [Mostrar una lista con todos los AuthN Mappings](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/authn-mappings/list-all-authn-mappings.md)

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

## [Crear un AuthN Mapping](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/authn-mappings/create-an-authn-mapping.md)

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