Delete email account
Soft deletes an email account from the workspace. The account is marked as deleted but not permanently removed from the database.
Supported Account Types:
- Works for all account types (IMAP, Google, Office365)
- Unlike create/update operations, deletion is allowed for OAuth accounts via API
Deletion Process:
- Account is marked with a deletion timestamp
- Account will no longer appear in listing endpoints
- Associated data may be retained for audit purposes
- Account cannot be used for sending/receiving emails after deletion
Response:
- Returns a success confirmation
- Returns 404 if account does not exist
DELETE
/administration/email-accounts/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
200
Email account deleted successfully
successboolean401
Unauthorized - Invalid or missing authentication token
403
Forbidden - Insufficient API scopes or permissions
404
Email account not found