Update a file folder
Update the Atom document representation of the file folder.This method replaces the existing Atom document for the file folder. For information about how to first retrieve the Atom document for the folder that you want to update, see Retrieve a file folder.
You must authenticate this request.
Table 1. Atom API request details
Method URI Output representation Description PUT Construct the URI using the following syntax: /basic/api/collection/{collection-id}/entry collection Atom document Updates the Atom document for the file folder.
Note: {collection-id} is the value of the <td:uuid> element in the collection's Atom entry document.You can use this input header in a POST request instead of using the PUT request.
Table 2. Input headers
Parameter Description X-Method-Override Tunnels a PUT request over HTTP POST
Input
An updated Atom entry document for the file folder. The content type must be specified as application/atom+xml.
Output
Atom entry document with the changes made to the file folder.Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the file collection entry was successfully updated. If an error occurs, this header will contain one of the error codes below.
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Parent topic
Work with foldersRelated reference
File folder content
});