Discard Ticket Draft
DELETE/api/support/agent/tickets/:ticket/draft
Discards the ticket's shared draft — it was emptied, or the agent gave up on it. The draft is shared, so this removes it for everyone. Returns 204 with no body, and is a no-op when the ticket has no draft.
support:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Path parameters
ticket(integer) — the ticket id.
Sending a reply or an internal note clears the draft on its own; call this only to throw one away without sending.
Authentication: Bearer token with the support:write scope, or an authenticated session, from a caller with an active support role (any role, including viewer — a viewer may leave internal notes, so a viewer may write the draft). No tenant context — this endpoint is central.
Request
Responses
- 204
- 401
- 403
- 404
- 429
No Content
Unauthorized
Response Headers
Forbidden
Response Headers
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.