---
title: 認証マッピング
description: AuthN Mappings API は、 Identity Provider から送信された属性を使用して、Datadog のユーザーグループをロールに自動的に マッピングするために使用されます。これらのエンドポイントを使用して、認証マッピングを管理します。
breadcrumbs: ドキュメント > API > 認証マッピング
---

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

# 認証マッピング

[AuthN Mappings API](https://docs.datadoghq.com/account_management/authn_mapping.md?tab=example) は、
Identity Provider から送信された属性を使用して、Datadog のユーザーグループをロールに自動的に
マッピングするために使用されます。これらのエンドポイントを使用して、認証マッピングを管理します。

## [AuthN Mapping を取得](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/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}  |

## [AuthN Mapping を編集](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/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}  |

## [AuthN Mapping を削除](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/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}  |

## [すべての AuthN Mappings のリスト](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/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  |

## [AuthN Mapping を作成](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/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  |
