POST /api/v1/cloud/deployments/{id}/archive
Archives a deployment. Archived deployments stop all scheduled runs and are hidden from default listings (pass include_archived=true to the List endpoint to see them). The archived_at timestamp is set and upcoming_runs_at becomes empty. The deployment name is appended with _archived_<unix_timestamp> to free the original name for reuse.
Archiving is irreversible via the API. There is currently no unarchive endpoint.
Path parameters
Headers
Request body
No request body is required.Example request
Example response
HTTP 200 OK Returns the full Deployment object witharchived_at set.
Errors
See Errors for the full error envelope.
Related
Pause a deployment
Pause scheduling while preserving configuration (reversible).
List deployments
Page through all deployments under the account.
Create a deployment
Create a new cron-scheduled or manually-triggered deployment.
Errors reference
All API error codes and the error envelope convention.