younifyd
Menu

Cancel Deployment Run

Cancel Deployment Run

POST/deployments/{provider}/runs/{id}/cancel

Use it in a workflow

  1. Add a step and choose the Directus connector.
  2. Pick the Cancel Deployment Run action (under Deployments).
  3. Fill in the fields below, then reference the result from later steps as {{cancelDeploymentRun.response.data}}.

Request

Path parameters

providerstringrequired

The deployment provider name (e.g. `vercel`, `netlify`).

One ofvercelnetlify

idstring (uuid)required

Unique identifier of the deployment run.

Response

Returns 200 with an object. Read it in later steps with {{cancelDeploymentRun.response.data.<field>}}.

dataobject

Cancellation result from the provider.

json
{
  "data": {}
}

Need more? See the Directus guide for connection setup and behaviour shared by every action.

Cancel Deployment Run — Directus — Documentation