files

Delete a file

delete/v1/phones/{id}/files

Request

  • Base URL: https://phonebox.dev
  • URL: https://phonebox.dev/v1/phones/{id}/files
  • Auth: HTTP bearer

Path parameters

idstring required

Query parameters

pathstring required

A path under /sdcard (or /storage/emulated/0), with no . or .. segments.

Response

The file was deleted. Directories are refused with 400 validation_failed; delete folders in the phone’s Files app.

pathstring required

The deleted file. Directories are refused before any contents are deleted.

deletedtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.