Resumes a paused Deployment to active status. Scheduled triggers resume according to the configured cron expression.
Prerequisites
Endpoint and authentication configured. For details, see API overview and authentication.
Endpoint
POST /deployments/{deployment_id}/unpause
Path parametersdeployment_idstring (必选)Deployment ID | Request example |
Response fieldsidstringDeployment IDtype stringFixed value deploymentname stringDeployment namedescription stringDeployment descriptionagent object—environment_id string—schedule objectScheduled trigger configurationinitial_events array<object>—resources array<object>—vault_ids array<string>—metadata object—status string—paused_reason string | null—archived_at string | null—created_at string—updated_at string—request_id stringUnique identifier of this request; include it when troubleshooting | Response |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 400 | InvalidParameter | Required parameter missing or invalid. |
| 401 | InvalidApiKey | Invalid API-key provided. |
| 409 | DEPLOYMENT_STATE_CONFLICT | Cannot unpause an archived deployment. |