post
https://{server}/api2/repos//dir/
Create (operation=mkdir) or rename (operation=rename) a directory. p is the full path of the directory to create/rename and must not be /.
- Create: requires the create right on the parent folder (since SecureCloud 13.0 also granted by custom permissions with create right). If the name already exists, the new directory is renamed automatically (e.g.
folder (1)). Withcreate_parents=trueall missing parent folders are created (create right on the library root required). Returns201with headerLocation; with queryreloaddir=truethe listing of the parent directory is returned instead. - Rename: requires edit permission on the folder. If
newnameequals the old name, nothing is done andsuccessis returned. Ifnewnamealready exists, the folder is renamed automatically.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…