Skip to main content
PUT
/
external-task
/
{id}
/
retries
Set Retries
curl --request PUT \
  --url http://{host}:{port}/{contextPath}/external-task/{id}/retries \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "retries": 123
}'
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 external task to set the number of retries for.

Body

application/json
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.