Kill an invocation
PATCH/invocations/:invocation_id/kill
Kill the given invocation. This does not guarantee consistency for virtual object instance state, in-flight invocations to other services, etc.
Request
Responses
- 200
- 404 Not Found
- 503 Service Unavailable
- 400 Bad Request
- 409 Conflict
Error when routing the request within restate.
The invocation was already completed, so it cannot be cancelled nor killed. You can instead purge the invocation, in order for restate to forget it.