Delete a file
DELETE
Deletes a file and removes it from storage for good. Download links to it stop working. It is not checked whether products still use it, so remove it from your products first. Secret and trusted tokens may call it.
header
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
file_id*stringThe file id.
The file is deleted. No body.
curl -X DELETE 'https://api.comecero.com/api/v1/files/string'Example Response
Empty
Update a file POST
Changes a file's settings, or replaces the file itself. The body must be `multipart/form-data`, like the upload. Send only the fields you want to change; empty fields are ignored, so a name or description cannot be cleared. A new `file` or `file_url` replaces the stored file. Secret and trusted tokens may call it.
Overview
Next Page