Skip to main content

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.

Required scope: support:write

Grant 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

No Content