Tasks

Cancel a pending task

Only pending tasks can be cancelled.

post/v1/delta-neutral/tasks/{taskId}/cancel

Request

  • Base URL: https://api.mob.exchange
  • URL: https://api.mob.exchange/v1/delta-neutral/tasks/{taskId}/cancel
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Persist one ID per intended mutation before sending. Reuse it with the same request for retries; different content returns 409.

Request body

EmptyCommand required

Response

Command accepted. Inspect task status for execution.

taskIdstring uuid required
status'cancelled' required

Changes

No recorded changes to this operation across all 1 revision of this API.