Discard a draft

View as Markdown

Discard (soft-delete) a draft. Only the draft creator or an admin can discard.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

idstringRequired
The agent ID
draftIdstringRequired
The draft ID

Response

Draft discarded successfully
statusboolean
dataany

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error