This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. The WebDAVDELETE method deletes a resource at the specified Uniform Resource Identifier (URI). The DELETE method can be used to delete collection and property resources.
Only a Depth Header value of "infinity" may be included in a DELETE method on a collection resource. If no Depth Header is included, the DELETE method acts as if a Depth Header value of "infinity" had been included.
The DELETE method may be included in the scope of a transaction by submitting a Transaction Header with a lock token that corresponds to that transaction.
Note See Authentication and Security Using WebDAV for more information.
|204 (No Content)||Standard success response.|
|423 (Locked)||The destination resource is locked.|
The following example illustrates a WebDAVDELETE method. The operation is completed successfully and a status code of 204 (No Content) is returned.
DELETE /folder1 HTTP/1.1 Host: www.domain.example.com
HTTP/1.1 204 No Content
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
This topic last updated: December 2002
Build: June 2007 (2007.618.1)