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

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/storage/file
  • Auth: HTTP bearer

Query parameters

file_pathstring required

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 operation across all 55 revisions of this API.