provider Deployment Gates POST /api/v2/deployment_gates/{gate_id}/rules
@utdk/datadog /api/v2/deployment_gates/{gate_id}/rules
Create deployment rule
Endpoint to create a deployment rule. A gate for the rule must already exist.
gate_id path required
The ID of the deployment gate.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createdeploymentrule
POST/api/v2/deployment_gates/{gate_id}/rules
Endpoint to create a deployment rule. A gate for the rule must already exist.

Parameters

required

The ID of the deployment gate.

Input

Parameters for creating a deployment rule.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.createdeploymentrule()