curl --request POST \
--url https://api.cloudcruise.com/runs/unpause \
--header 'Content-Type: application/json' \
--header 'cc-key: <api-key>' \
--data '
{
"pause_resource": "run_window",
"resource_ids": [
"11223344-5566-7788-9900-112233445566"
]
}
'{
"success": true,
"resumedRuns": 123,
"skippedResourceGroups": [
"<string>"
],
"errors": [
"<string>"
]
}Unpause runs
Lifts a pause so held runs can start. Requires the Owner or Member workspace role.
With pause_resource set to run_window, this is Run now for a run window: it lifts the closed window of each listed workflow and starts its held runs. The lift also covers runs submitted while it is active, and lasts until the window next opens, or until it is edited or removed. Workflows whose window is already open are skipped. A manual pause is never lifted this way.
With pause_resource set to workflow, it removes the manual pause on each listed workflow.
With pause_resource set to credential, it removes the pause on each listed credential and moves its held runs back to the queue. A credential ID has the form <workspace_id>:<permissioned_user_id>:<domain>. A leading http:// or https:// on the domain is ignored when matching.
curl --request POST \
--url https://api.cloudcruise.com/runs/unpause \
--header 'Content-Type: application/json' \
--header 'cc-key: <api-key>' \
--data '
{
"pause_resource": "run_window",
"resource_ids": [
"11223344-5566-7788-9900-112233445566"
]
}
'{
"success": true,
"resumedRuns": 123,
"skippedResourceGroups": [
"<string>"
],
"errors": [
"<string>"
]
}Authorizations
API key-based authentication. Provide your CloudCruise API key in the cc-key header.
Body
Was this page helpful?

