Permanently deletes the specified domain/library and all of its contents, including all folders, documents, versions, and associated data. This operation is irreversible.
/srv.asmx/DeleteDomain
/srv.asmx/DeleteDomain?authenticationTicket=...&DomainName=.../srv.asmx/DeleteDomain (form data)http://tempuri.org/DeleteDomain| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
DomainName |
string | Yes | Name of the domain/library to permanently delete. |
<response success="true" error="" />
<response success="false" error="[ErrorCode] Error message" />
System administrator only. Only the system administrator can delete domains/libraries.
GET /srv.asmx/DeleteDomain
?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&DomainName=OldProjects
HTTP/1.1
POST /srv.asmx/DeleteDomain HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&DomainName=OldProjects
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://tempuri.org/">
<soap:Body>
<tns:DeleteDomain>
<tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>
<tns:DomainName>OldProjects</tns:DomainName>
</tns:DeleteDomain>
</soap:Body>
</soap:Envelope>
ArchiveDomain instead of deleting it.DomainExists before attempting deletion.| Error | Description |
|---|---|
[900] Authentication failed |
Invalid or missing authentication ticket. |
[901] Session expired or Invalid ticket |
The ticket has expired or does not exist. |
[1573] Only the system administrator can perform this operation |
The calling user is not a system administrator. |
[115] Domain not found |
The specified DomainName does not exist. |
SystemError:... |
An unexpected server-side error occurred. |