Export (0) Print
Expand All

DELETE Method

Exchange Server 2003

DELETE Method

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.

The list of WebDAV Protocol Status Codes in the following table is not comprehensive. For information about 500-level status codes, see WebDAV Status Codes: 500s.

Status Codes

Status Code Meaning
204 (No Content) Standard success response.
423 (Locked) The destination resource is locked.

Example

The following example illustrates a WebDAVDELETE method. The operation is completed successfully and a status code of 204 (No Content) is returned.

Request

DELETE /folder1 HTTP/1.1
Host: www.domain.example.com

Response

HTTP/1.1 204 No Content

Related Topics

Show:
© 2014 Microsoft