Skip to main content
PUT
/
job
/
{id}
/
suspended
Activate/Suspend Job By Id
curl --request PUT \
  --url http://{host}:{port}/{contextPath}/job/{id}/suspended \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "suspended": true
}'

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the job to activate or suspend.

Body

application/json
suspended
boolean | null

A Boolean value which indicates whether to activate or suspend a given instance (e.g. process instance, job, job definition, or batch). When the value is set to true, the given instance will be suspended and when the value is set to false, the given instance will be activated.

Response

204

Request successful. This method returns no content.