Delete the file with the specified file ID
delete/files/{fileId}
Deletes the file with the specified ID, if it is not attached to an object. Use the /documents/{objectTypeName}/{objectId}/files/{fileId} endpoint if the file is attached to an object.
Status | Meaning | Description | ||
---|---|---|---|---|
204 | No Content | The file was successfully deleted. | ||
400 | Bad Request | The request failed because the file ID could not be parsed correctly. The file ID must be a UUID. | Schema | |
403 | Forbidden | The request failed. The object does not exist, the user does not have the correct permissions to view the object, or the file is attached to an object. | Schema | |
404 | Not Found | The request failed. The file could not be deleted. | Schema |