Skip to content

Delete a deployment

DELETE
/deployments/{id}
id
required
string

DocumentId

Deleted

object
data
object
name
required
string
environment
required
string
Allowed values: development staging production preview
service_name
required
string
version
string
strategy
string
Allowed values: blue_green rolling canary
traffic_split_pct
integer
rollback_on_error
boolean
status
string
Allowed values: pending in_progress running success completed failed rolled_back cancelled
deployed_by
string
started_at
string format: date-time
finished_at
string format: date-time
completed_at
string format: date-time
duration_seconds
integer
change_request_id
string
deployment_url
string
error_log
string
organisation
One of:

DocumentId reference to api::organisation.organisation

string
cloud_instance
One of:

DocumentId reference to api::cloud-instance.cloud-instance

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found