Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The id of the external task.
Body
application/json
The duration to lock the external task for in milliseconds.
Note: Attempting to lock an already locked external task with the same workerId
will succeed and a new lock duration will be set, starting from the current moment.
Mandatory. The ID of the worker who is performing the operation on the external task. If the task is already locked, must match the id of the worker who has most recently locked the task.
Response
Request successful.