Skip to content

Delete a deployment

DELETE
/v1/apps/{appName}/deployments/{deploymentName}
curl --request DELETE \
--url https://api.aetherpush.com/v1/apps/example/deployments/example \
--header 'Authorization: Bearer <token>'

Permanently deletes the deployment and its release history. Cannot be undone. Requires the deployments.manage permission (Owner or Admin).

appName
required
string
deploymentName
required
string

Deployment deleted.

Insufficient permissions (deployments.manage required).

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

App or deployment not found.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}