---
title: 制限ポリシー
description: 制限ポリシーは、リソースのアクセス制御ルールを定義し、一連の関係 (編集者や閲覧者など) を 許可されたプリンシパル (ロール、チーム、ユーザーなど) のセットにマッピングします。 制限ポリシーは、そのリソースで誰がどのアクションを実行できるかを決定します。
breadcrumbs: ドキュメント > API > 制限ポリシー
---

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

# 制限ポリシー

制限ポリシーは、リソースのアクセス制御ルールを定義し、一連の関係 (編集者や閲覧者など) を
許可されたプリンシパル (ロール、チーム、ユーザーなど) のセットにマッピングします。
制限ポリシーは、そのリソースで誰がどのアクションを実行できるかを決定します。

## [制限ポリシーを更新する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/restriction-policies/update-a-restriction-policy.md)

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

## [制限ポリシーを取得する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/restriction-policies/get-a-restriction-policy.md)

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

## [Delete a restriction policy](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/restriction-policies/delete-a-restriction-policy.md)

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