Operations
Cancel an operation
Changed onRequests cancellation of an operation. A pending operation is cancelled immediately. A running operation is flagged for cancellation; the worker observes the flag at its next checkpoint. Operations that have already reached a terminal state cannot be cancelled. Cancellation does not roll back work that has already completed.
post/operations/{id}/cancel
Request
- Base URL: https://api.cavuno.com/v1
- URL: https://api.cavuno.com/v1/operations/{id}/cancel
- Auth: HTTP bearer
Path parameters
idstring required
Unique identifier for the operation.
Response
Successful response. The returned operation reflects cancelRequested: true; the worker observes the flag at its next checkpoint.
Changes
- info
added the optional property
/to the response with the status
- info