DELETE
/containers/{container_id}/files/{file_id}Delete a file from a container
Deletes a file from a container. Use container_id and file_id to identify the file to remove.
container_idstringrequired
The identifier of the container that holds the file.
file_idstringrequired
The identifier of the file to delete.
200Returns a deletion object containing the file identifier, a deleted flag, and the object type `container.file.deleted`.
objectstringrequired
deletedbooleanrequired
idstringrequired
404Returned when the container was not found or has expired, or the file was not found in the container.
errorobjectrequired
429Returned when the request exceeds a rate limit.
errorobjectrequired
Error handling
A 404 is returned when the container was not found or has expired, or when the file was not found in the container. A 429 is returned when the request exceeds a rate limit. The container_id and file_id path parameters must identify the container and file to delete.