storage

Delete file

Delete a file from storage. Admins can delete any user's files. Otherwise the path must belong to the current user.

delete/api/storage/file

Query parameters

file_pathstring required

Full path to the file to delete (e.g., users/{user_id}/files/documents/consent.pdf)

Full path to the file to delete (e.g., users/{user_id}/files/documents/consent.pdf)

Response

Successful Response

messagestring

Success message

Example response

{
  "message": "File eliminato con successo"
}

Changes

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