Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/en/deployment_gates/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ Be sure to replace the following:
- `<YOUR_APP_KEY>`: Your [application key][3]

```bash
curl -X POST "https://api.<YOUR_DD_SITE>/api/unstable/deployments/gates/evaluation" \
curl -X POST "https://api.<YOUR_DD_SITE>/api/v2/deployments/gates/evaluation" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: <YOUR_API_KEY>" \
-H "DD-APPLICATION-KEY: <YOUR_APP_KEY>" \
Expand Down Expand Up @@ -511,7 +511,7 @@ The field `data.attributes.evaluation_id` contains the unique identifier for thi
You can fetch the status of a gate evaluation by polling an additional API endpoint using the gate evaluation ID:

```bash
curl -X GET "https://api.<YOUR_DD_SITE>/api/unstable/deployments/gates/evaluation/<evaluation_id>" \
curl -X GET "https://api.<YOUR_DD_SITE>/api/v2/deployments/gates/evaluation/<evaluation_id>" \
-H "DD-API-KEY: <YOUR_API_KEY>" \
-H "DD-APPLICATION-KEY: <YOUR_APP_KEY>"
```
Expand Down
Loading