Endpoint

Overview

Deletes one file, or one folder together with everything inside it, from each phone’s shared storage. This cannot be undone. Requires an active session on each phone. Platforms: Android only. An iPhone gets the error code unsupported.

Request Body

string[]
required
The phones to act on.
string
One phone, instead of phoneIds. The answer’s data is then that phone’s result itself, not a list, and a failure on the phone is the request’s ok: false with the phone’s error (at the HTTP status of its code). Give phoneId or phoneIds, not both.
string
required
Path of the file or folder to delete, relative to the storage root. The root itself cannot be deleted.

Response

boolean
true when the request was carried out. Check each result for how it went on that phone.
Result[]
One Result per phone, in the order of phoneIds. This endpoint adds no fields of its own.
A result with ok: true means the file or folder is gone from that phone.

Phone Errors