POST /messaging/v1/domainverification/delete

Delete a user domain in From Address Management.

JSON Parameters

NameTypeDescription
EmailAddressstringRequiredEmail address to delete.
DomainTypebooleanRequiredDomain type of the email address. Use UserDomain.

Responses

StatusNameTypeDescription
200  OK
 messagestringSuccess message showing the number of email addresses deleted: x records successfully updated!
    
400  Bad Request
 messagestringInvalid email address
 errorcodestringError code for the exception
 documentationstringhttps://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/error-handling.htm
    
403  Insufficient Privileges
 messagestringForbidden, Insufficient Privileges
 errorcodestringError code for the exception
 documentationstringhttps://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/error-handling.htm
    
500  Internal Server Error
 messagestringInvalid request
 errorcodestringError code for the exception
 documentationstringhttps://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/error-handling.htm

Required Marketing Cloud Permissions

  • Administration
  • ManageDomainRegistration

Example Request

Example Response