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.
|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