Hosted Email 2007::DeleteSMTPDomain

This procedure removes an accepted SMTP domain.

This procedure for Hosted Messaging and Collaboration version 4.5 is modified to handle the scenario where the specified domainName is owned by the parent or reseller organization. This is necessary to support rollup of SMTP Domain ownership, in that if a reseller organization owns an SMTP domain, all Tenants of that reseller can also own that SMTP domain as an asset in the Managed Plans database. This procedure already supports the scenario of deleting an SMTP domain owned by a reseller organization.

Arguments

Input Arguments Required Description

<organization>

Yes

A valid Lightweight Directory Access Protocol (LDAP) path of the organization.

<domainName>

Yes

This parameter specifies a unique name for the accepted domain object.

<preferredDomainController>

Yes

The domain controller to use for Active Directory actions.

Remarks

Security

The caller must be at least a member of role: UserCreators.

Sample Code

Example XML Request

<request> 
  <data> 
    <!--The LDAP Path of the organization--> 
    <organization>LDAP://OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</organization> 
    <!--The domain controller to use for Active Directory actions.--> 
    <preferredDomainController>AD01.Fabrikam.Com</preferredDomainController> 
    <!--This parameter specifies a unique name for the accepted domain object.--> 
    <domainName>AlpineSkiHouse.com</domainName> 
  </data> 
  <procedure> 
    <execute namespace="Hosted Email 2007" procedure="DeleteSMTPDomain" impersonate="1"> 
      <before source="data" sourcePath="organization" destination="executeData" mode="move" /> 
      <before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" /> 
      <before source="data" sourcePath="domainName" destination="executeData" mode="move" /> 
      <after source="executeData" destination="data" mode="merge" /> 
    </execute> 
  </procedure> 
</request> 
 

Applies To

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Other Resources

API Name [HMC SDK]
API Name [HMC SDK]
API Name [HMC SDK]