files

Delete a file

Removes a file from the org's library and everywhere it was delivered: the stored object and the library entry go immediately, and every phone holding a copy is scheduled to remove it (removal is confirmed per phone and retried until it lands). The response reports how many phones that recall reaches. This runs the same for an uploaded or a captured file; a capture's source phone keeps its own session copy, which belongs to the session, not the library.

delete/files/{file_id}

Path parameters

file_idstring uuid required

file identifier to delete

file identifier to delete

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

messagestring required
phones_pending_removalinteger required

Phones that still hold a copy and have been scheduled to remove it. Zero means the file is already gone everywhere.

Example response

{
  "$schema": "/api/v1/DeleteFileOutputBody.json"
}

Changes