Delete a file
DELETE/files/:id
Removes the file and its bytes. Templates that reference the name render a missing image
afterwards, once the render machines' image cache (up to seven days) no longer holds it, and a
browser or proxy that cached the file may show it for up to an hour more.
Needs file:delete, which new keys do not have by default.
Request
Responses
- 204
- 404
- default
Deleted.
Not found for the key: not_found, or template_not_found for a template or version. Templates, renders, files and webhooks are looked up in the workspace of the key, shared partials and workspaces in its organisation.
Error (RFC 9457 problem details).