destroyDomain

Destroy a domain. This destroys all groups and users within the domain, and destroys the /users/domainName folder if it exists.

Location

/services/webservices/system/admin/user/operations/

Request Element

domainName: The domain name.

Request Example

<user:destroyDomain xmlns:user="http://www.compositesw.com/services/system/admin/user">
  <user:domainName>sample_domain</user:domainName>
</user:destroyDomain>

Response Elements

N/A

Faults

NotAllowed: If the domain cannot be destroyed. For example, the composite domain cannot be destroyed.

NotAllowed: If an attempt is made to use this operation with an insufficient license.

NotFound: If the domain does not exist.

Security: If the user does not have the ACCESS_TOOLS and MODIFY_ALL_USERS rights.