Skip to main content

Replacing the contents of a file

Replacing the contents of an existing file is exactly the same as Uploading a new file. If the file exists, a POST will overwrite the contents of the file.

Note that sending a PUT request in the same manner as a POST to the Atom endpoint for a file will result in a 500 Internal Server Error - PUT requests to this endpoint are reserved for modifying the properties of the file using the Atom representation.