Delete Email Domain Rules

delete

/rest/api/v1.3/settings/account/domains/email/{domainRuleType}/{domainName}

Deletes Email Domain Rules.

Request

Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Delete email domain
Type: object
Title: Delete email domain
Show Source
Back to Top

Examples

The following example shows how to delete Email Domain Rules.

FIELDS DESCRIPTION
Authorization <AUTH_TOKEN>
Accept application/json

Sample Request URL:

/rest/api/v1.3/settings/account/domains/email/htmlDomains/excite.com
	

Sample Response: Success

{
    "message": "The domain [excite.com] under [htmlDomains] deleted successfully.",
    "status": true
}
	

Example Response Failures

401 Unauthorized

User must be Account Admin: Requests fail when the user performing this request does not have the Account Admin role. The error resembles:

{
  "type": "",
  "title": "Insufficient access",
  "errorCode": "INSUFFICIENT_ACCESS",
  "detail": "User must be Account Admin.",
  "errorDetails": []
}
     
Back to Top