Rensei docs
API ReferenceWorker Protocol

Cancel an undelivered daemon mutation

Cancels a pending mutation before it is delivered to the daemon. Returns 409 if already delivered or terminal. Returns 404 if the mutation does not exist or does not belong to the caller's org. Once a heartbeat delivers the mutation, the only way to "undo" is to enqueue the inverse op (e.g. `project.remove` for a wrongly applied `project.add`).

DELETE
/api/daemon/mutations/{mutationId}

Authorization

rsk_Bearer
headerAuthorizationBearer <rsk_live_*>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

Path Parameters

mutationId*string

Response Body

Mutation cancelled.

application/json
  1. response
cancelled*true
Value intrue
Example Request
curl -X DELETE 'https://app.rensei.ai/api/daemon/mutations/string'
Example Response
{  "cancelled": true}