Skip to content
Helicarrier Developers

Abort deploy

Request cancellation of a deployment that is still in progress.

POST /api/deployments/{deploymentId}/abort HTTPS
Request & response examples
Request example Server-side
curl --fail-with-body --request POST \
'https://app.helicarrier.xyz/api/deployments/YOUR_DEPLOYMENT_ID/abort' \
-H "Authorization: Bearer $HELI_API_KEY"
Response example 200
{
"status": "aborting"
}

Illustrative values · selected fields

Authorization

An account key with access, or a project/service key with deployments:write. The resource must be within the key’s project, service, and environment scope.

Authorization: Bearer <key> Key setup ↗

Path parameters

deploymentId string required

In-flight deployment id.

Response 200

Returns status aborting after requesting cancellation. Follow the deployment until it reaches its final state.

Examples show selected response fields with illustrative values. Your response can contain additional fields.

status string

Current state of the resource or operation.

Errors

401

The API key is missing, invalid, or revoked.

403

The caller or key scope does not permit this operation.

404

The resource does not exist or is not visible to this caller.

409

The current resource state prevents the operation. Inspect it before retrying.

Error handling and safe retries
ALSO AVAILABLE VIA MCP

abort_deploy

Required MCP arguments: deploymentId. Send path, query, and body fields together as tool arguments.

Connect your agent ↗