Attachments
Cancel a mid-upload attachment, or permanently delete an unbound one
Cancels a PENDING upload, or permanently deletes a READY/FAILED/CANCELLED unbound row otherwise — never a row already bound to a sent message. Returns the resulting attachment, not an empty body.
DELETE
Cancel a mid-upload attachment, or permanently delete an unbound one
Authorizations
Clerk session token, Authorization: Bearer <token> — the first-party browser app's own auth. Used only by this internal /api/v1/* surface, never by /api/public/v1/*.
Path Parameters
Minimum string length:
1Response
The cancelled or deleted attachment.
Required range:
x >= 0Available options:
PENDING, READY, FAILED, CANCELLED Required range:
x >= 0Available options:
uploaded, generated