Cancel a waiting mail ('Geri al')
DELETE/api/inbox/scheduled-mails/:scheduledMail
A pending or failed mail becomes cancelled and never leaves; its draft goes back to the drafts list and is returned as draft, so the composer can reopen on it at once. Once the mail has started to leave this is a 422. Own mail only.
Request
Responses
- 200
- 401
- 404
- 422
- 429
The cancelled mail, carrying its restored draft.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Resource not found (or not visible to the current tenant).
The request failed validation.
Rate limit exceeded.
Response Headers
X-RateLimit-Limit
Request quota for the current window.
X-RateLimit-Remaining
Remaining requests in the current window.
Retry-After
Seconds to wait before retrying.