Home
Updating entry templates
To update an entry template, send a replacement Atom document containing the modified entry template to the edit link for the existing entry template.
All existing entry template information will be replaced with the new data. To avoid deleting existing data, retrieve any data that you want to retain first, and send it back with this request. See Retrieving entry templates for more information.
See Authenticating requests for information about how to authenticate the request.
Atom API request details
Method Resource URI Input representation PUT entry template Value of the href attribute of the <link> element that has a rel="edit" attribute in the entry template Atom document. entry template PUT entry template and icon graphic file Value of the href attribute of the <link> element that has a rel="edit" attribute in the entry template Atom document. entry template and icon graphic file as a multipart put request
Input
Perform one of the following action:
- To update the entry template only (and not the icon associated with it), provide a revised entry template Atom document.
- To update both the entry template and icon, send a multipart put request that includes a revised entry template Atom document and the new or changed icon graphic file.
- To change only the icon associated with the entry template, send a multipart put request that includes the same version of the entry template Atom document and the new or changed icon graphic file.
If you change the icon associated with the entry template, all of the existing entries that were created using the template are updated to display the new icon.
Output
None. Returned HTTP Headers
- HTTP/1.1 200 OK
- Indicates that the entry template was successfully updated.
Error codes
- HTTP/1.1 403 Forbidden: Authorization failed.
- HTTP/1.1 404 Not Found
Related reference