Skip to main content
DELETE
Delete the tenant's email sending domain
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

DELETE /tenant/email-domain Description: Removes the domain from the email sending provider and deletes the local record. If the provider-side delete fails, the local record is still removed so the tenant can re-register. Authorization:
  • Required role: owner only
Method: DELETE

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

Email domain deleted

status
string
Example:

"success"

message
string
Example:

"Email domain deleted successfully"

data
object | null
Example:

null