Discard a brief

View as Markdown

Discards a brief (from shaping/shaped/failed) and cleans up any crashed-approve artifacts. An already-approved brief returns 409; already-discarded is idempotent. Requires project access.

Authentication

AuthorizationBearer

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

Path parameters

projectIdstringRequired
briefIdstringRequired

Response

The brief was discarded.
okboolean

Errors

401
Unauthorized Error
404
Not Found Error
409
Conflict Error