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`).
Authorization
rsk_Bearer Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/daemon/mutations/string"{
"cancelled": true
}{
"error": "Session not found"
}{
"error": "Session not found"
}{
"error": "Session not found"
}{
"cancelled": false,
"reason": "already_delivered"
}Enqueue a daemon-config mutation
Enqueues a configuration mutation for delivery to a specific daemon host on its next heartbeat. Supported ops: - `project.add` - add project to daemon allowlist - `project.remove` - remove project from allowlist - `pool.deleted` - notify daemon of a deleted resource pool - `modelAccess.set` - write a machine-scoped model-access policy - `modelAccess.clear` - clear a workload-specific access policy Requires org admin/owner role. The cancel window closes as soon as the daemon's next heartbeat stamps `deliveredAt`.
Upsert plugin verb option snapshots
Called by the daemon to push option metadata (e.g. autocomplete choices) for installed plugin verbs back to the platform so users see up-to-date option lists in the workflow editor. Accepts a batch of snapshots for one `(orgId, projectId)` scope. Each entry is upserted by `(orgId, projectId, pluginId, verbId)`. Auth: `Bearer rsk_*` via `getCliOrSessionAuth` OR runtime JWT. Cross-tenant guard on `body.orgId`. Additional project-boundary guard on `body.projectId`.