Skip to main content
PUT
/
job
/
{id}
/
retries
Set Job Retries
curl --request PUT \
  --url http://{host}:{port}/{contextPath}/job/{id}/retries \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "retries": 3,
  "dueDate": "2017-04-06T13:57:45.000+0200"
}'
This response does not have an example.

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 be updated.

Body

application/json
dueDate
string<date-time> | null

The due date to set for the job. A due date indicates when this job is ready for execution. Jobs with due dates in the past will be scheduled for execution.

retries
integer | null

The number of retries to set for the resource. Must be >= 0. If this is 0, an incident is created and the task, or job, cannot be fetched, or acquired anymore unless the retries are increased again. Can not be null.

Response

Request successful. This method returns no content.