Cancel a playbook run

View as Markdown

Cancels the run (terminal). Authorization: space:contribute (org admins bypass); missing → 403. Body: optional reason (1–4000 chars) recorded on the run. Returns 200 { data } with the run’s final status, task progress, result and error.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceIdstringRequired
runIdstringRequired

Request

This endpoint expects an object.
reasonstringOptional1-4000 characters

Response

The final run state.
dataobject