This resource works like an explorer. You can go through the files and folders in the device. You can read, add, or remove a file/folder.
When you try to delete a folder or a file, the URL will represent the targeted element. The endpoint of the URL will be the file/folder removed.
If a folder is targeted, all files will be deleted recursively.
For each successful deletion operation you will receive a 204 No Content status. If the file you try to remove does not exist, you will receive a 404 Not Found status.
If this parameter is not in the request, the Application/Json will be chosen by default. JSON and XML are the most commonly used values.
There are multiple possible values (according the resource):
Located in : Header
Example values : accept:application/json