Browse the API reference

Cancel Operation

delete/v1/operations/{operation_id}

Part of Operations.

Cancels a pending or running operation. Emits a cancellation event to any active SSE connections. Cannot cancel completed or failed operations.

Authentication

Authenticate in any one of these ways — not all of them:

  • API key in the X-API-Key header.
  • Bearer token in the Authorization header.

Path parameters

NameTypeDescription
operation_idrequiredstringOperation identifier

Example request

curl
curl -X DELETE "https://api.robosystems.ai/v1/operations/{operation_id}" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY"

Responses

200 Successful Response

StatusMeaning
400Invalid request
401Authentication required
403Access denied
404Resource not found
409Operation already completed or failed — cannot cancel
422Validation Error
429Rate limit exceeded
500Internal server error