Detach a file from a run

View as Markdown

Unlinks a pooled file from a playbook run. Refuses (409) a file that is a durable task output (uploadedInRunId of this run). Requires file:write on the project.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

projectIdstringRequired
runIdstringRequired
fileIdstringRequired

Response

The file was detached.
okboolean

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
503
Service Unavailable Error