API Docs / Operations / Email - Mailbox / Discard Draft

Discard Draft

DELETE /tenants/{tenant}/email-configs/{code}/drafts/{messageId}

Discards an existing draft via the email provider. The configuration must have ReadEnabled set to true. The draft is removed from the connected mailbox and no longer shown in Sodium.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
messageId* path string (uuid)

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found