Delete a file and its metadata 

Delete a file and the Atom document representation of its associated metadata from your collection.

Only the owner of a collection can delete a file from the collection.

See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API request details

Method URI Input and output representations
DELETE You can determine the URI in either of the following ways:

  • Value of the href attribute of the <link rel="edit"> element in the file's Document Atom entries.

  • Construct the URI using the following syntax: /basic/api/myuserlibrary/document/{document-id}/entry


Note: {document-id} is the value of the <td:uuid> or <td:label> elements in the file's Atom entry document.

You can use this input header in a POST request instead of using the DELETE request.

Table 2. Input headers

Parameter Description
X-Method-Override Tunnels a DELETE request over HTTP POST





Returned HTTP headers

HTTP/1.1 204 No Content

Error codes

Parent topic

Work with files

Related reference
File content