---
title: 'dav remove'
---
**`dav remove [-pc] [-L <lock>] <url>`**
Removes a resource. When removing a collection, all child resources are also
removed.
**`-p`** disable file name and path decryption if enabled
**`-c`** enable file name and path decryption
**`-L`** <lock> use a lock token
**Command aliases:** rm, delete