Mailboxes
Messages

Delete an inbox reply draft

Delete a reply draft in status draft, invalidated or failed. Returns 409 for a draft that is sending or sent, or that belongs to the Shipmail Assistant. The stored draft is removed from the Drafts folder first; if that fails the request fails with 500 and can be retried.

delete/mailboxes/{id}/inbox/threads/{thread_id}/drafts/{draft_id}

Request

  • Base URL: https://shipmail.to/api/v1
  • URL: https://shipmail.to/api/v1/mailboxes/{id}/inbox/threads/{thread_id}/drafts/{draft_id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://shipmail.to/api/auth/oauth2/authorize, token URL https://shipmail.to/api/auth/oauth2/token)

Headers

X-Shipmail-Organizationstring

OAuth access tokens only. The organization ID this request acts on. Required when the OAuth connection was approved for several organizations (400 validation_error without it); optional with one. An organization the connection was not approved for returns 403 authorization_error. Ignored for API keys, which belong to one organization.

Response

Reply draft deleted.

Changes

No recorded changes to this operation across all 1 revision of this API.