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.

Requires: Update on Mailbox.

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
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found