---
title: Politique d'exécution
description: Les politiques d'exécution contrôlent les actions que la plateforme d'action Datadog est autorisée à exécuter sur votre infrastructure, et où.
breadcrumbs: Documentation > API > Politique d'exécution
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/llms.txt).

# Politique d'exécution

Les politiques d'exécution contrôlent les actions que la plateforme d'action Datadog est autorisée à exécuter
sur votre infrastructure, et où. Chaque politique associe un effet (autoriser ou refuser)
à un modèle d'actions, et peut limiter cette décision à des espaces de noms
Kubernetes, des scripts ou des chemins de shell distants.

## [List execution policies](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/execution-policy/list-execution-policies.md) (preview)

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

## [Create an execution policy](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/execution-policy/create-an-execution-policy.md) (preview)

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

## [Get an execution policy](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/execution-policy/get-an-execution-policy.md) (preview)

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

## [Update an execution policy](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/execution-policy/update-an-execution-policy.md) (preview)

| Datadog site      | API endpoint                                                                    |
| ----------------- | ------------------------------------------------------------------------------- |
| app.datadoghq.com | PUT https://api.datadoghq.com/api/v2/actions/execution-policies/{policy_id}     |
| us3.datadoghq.com | PUT https://api.us3.datadoghq.com/api/v2/actions/execution-policies/{policy_id} |
| us5.datadoghq.com | PUT https://api.us5.datadoghq.com/api/v2/actions/execution-policies/{policy_id} |
| app.datadoghq.eu  | PUT https://api.datadoghq.eu/api/v2/actions/execution-policies/{policy_id}      |
| ap1.datadoghq.com | PUT https://api.ap1.datadoghq.com/api/v2/actions/execution-policies/{policy_id} |
| ap2.datadoghq.com | PUT https://api.ap2.datadoghq.com/api/v2/actions/execution-policies/{policy_id} |
| uk1.datadoghq.com | PUT https://api.uk1.datadoghq.com/api/v2/actions/execution-policies/{policy_id} |
| app.ddog-gov.com  | PUT https://api.ddog-gov.com/api/v2/actions/execution-policies/{policy_id}      |
| us2.ddog-gov.com  | PUT https://api.us2.ddog-gov.com/api/v2/actions/execution-policies/{policy_id}  |

## [Delete an execution policy](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/execution-policy/delete-an-execution-policy.md) (preview)

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