# Description Delete an existing deposition file resource. Note, only deposition files for unpublished depositions may be deleted.
# URL https://zenodo.org/api/deposit/depositions/:id/files/:file_id
# Method DELETE
# Scopes deposit:write
# URL parameters
# Required:
# id: Deposition identifier
# file_id: Deposition file identifier
# Success response
# Code: 204 No Content
# Body: Empty.
# Error response
# 404 Not found: Deposition file does not exist.
# 403 Forbidden: Deleting an already published deposition.
# See also HTTP status codes (400 and 500 series errors) and error responses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.