Pause / resume / terminate a journey instance (deprecated)
Requires ADMIN. Delegates to the JourneyInstance Durable Object. Deprecated.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Project (tenant) identifier. Row-level tenant isolation is enforced on every query.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Responses
Section titled “Responses”Updated instance.
object
object
Missing/invalid path input (e.g. projectId) or invalid JSON body.
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}Not authenticated (401 via requireAuthenticated) or insufficient project role (403).
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}Resource not found (or cross-tenant — same 404).
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}Illegal state transition (error=state_transition_invalid).
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}Zod validation failed (error=‘参数校验失败’ with issues[]).
object
object
object
Example
{ "error": "参数校验失败"}Durable Object rejected the operation (error=do_operation_failed).
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}Durable Object unreachable/timeout (error=do_unreachable).
object
Human-readable error message.
Examplegenerated
{ "error": "example", "message": "example"}