---
title: Puertas de despliegue
description: Administre las puertas de despliegue mediante esta API para reducir la probabilidad y el impacto de los incidentes causados por los despliegues.
breadcrumbs: Documentación > API > Puertas de despliegue
---

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

# Puertas de despliegue

Administre las puertas de despliegue mediante esta API para reducir la probabilidad y el impacto de los incidentes causados por los despliegues. Consulte la [documentación de las puertas de despliegue](https://docs.datadoghq.com/deployment_gates.md) para obtener más información.

## [Create deployment gate](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/create-deployment-gate.md) (preview)

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

## [Get deployment gate](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/get-deployment-gate.md) (preview)

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

## [Update deployment gate](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/update-deployment-gate.md) (preview)

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

## [Delete deployment gate](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/delete-deployment-gate.md) (preview)

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

## [Create deployment rule](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/create-deployment-rule.md) (preview)

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

## [Get deployment rule](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/get-deployment-rule.md) (preview)

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

## [Update deployment rule](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/update-deployment-rule.md) (preview)

| Datadog site      | API endpoint                                                                   |
| ----------------- | ------------------------------------------------------------------------------ |
| app.datadoghq.com | PUT https://api.datadoghq.com/api/v2/deployment_gates/{gate_id}/rules/{id}     |
| us3.datadoghq.com | PUT https://api.us3.datadoghq.com/api/v2/deployment_gates/{gate_id}/rules/{id} |
| us5.datadoghq.com | PUT https://api.us5.datadoghq.com/api/v2/deployment_gates/{gate_id}/rules/{id} |
| app.datadoghq.eu  | PUT https://api.datadoghq.eu/api/v2/deployment_gates/{gate_id}/rules/{id}      |
| ap1.datadoghq.com | PUT https://api.ap1.datadoghq.com/api/v2/deployment_gates/{gate_id}/rules/{id} |
| ap2.datadoghq.com | PUT https://api.ap2.datadoghq.com/api/v2/deployment_gates/{gate_id}/rules/{id} |
| uk1.datadoghq.com | PUT https://api.uk1.datadoghq.com/api/v2/deployment_gates/{gate_id}/rules/{id} |
| app.ddog-gov.com  | PUT https://api.ddog-gov.com/api/v2/deployment_gates/{gate_id}/rules/{id}      |
| us2.ddog-gov.com  | PUT https://api.us2.ddog-gov.com/api/v2/deployment_gates/{gate_id}/rules/{id}  |

## [Delete deployment rule](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/delete-deployment-rule.md) (preview)

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

## [Get rules for a deployment gate](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/get-rules-for-a-deployment-gate.md) (preview)

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

## [Get all deployment gates](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/get-all-deployment-gates.md) (preview)

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

## [Trigger a deployment gate evaluation](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/trigger-a-deployment-gate-evaluation.md) (preview)

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

## [Get a deployment gate evaluation result](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/get-a-deployment-gate-evaluation-result.md) (preview)

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

## [List deployment gate evaluations](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/list-deployment-gate-evaluations.md) (preview)

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

## [List deployment gate rule evaluations](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/es/api/latest/deployment-gates/list-deployment-gate-rule-evaluations.md) (preview)

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