Skip to main content
POST

Authorizations

cc-key
string
header
required

API key-based authentication. Provide your CloudCruise API key in the cc-key header.

Body

application/json
pause_resource
enum<string>
required

What kind of resource to pause

Available options:
workflow,
credential
resource_ids
string[]
required

Workflow IDs (UUIDs) for workflow; credential IDs for credential

reason
string

Why the resource is paused. Shown in the paused resources list

expire_existing_sessions
boolean

Credentials only. When true, the credential's saved browser data (cookies and storage) is cleared when it is unpaused. Sending it with workflow returns 400

Response

The pause was applied

success
boolean
pausedRuns
integer

Number of queued runs held by this pause

skippedResourceGroups
string[]

Worker groups that were busy and could not be processed. Their queued runs are not held yet, so repeat the request.

errors
string[]
pausedResources
object

The paused resources after this call, as returned by GET /runs/paused