Browse the help center

Delete template file

Removes a specific file from the given template by its file ID.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/template/template-file/delete.do

Removes a specific file from the given template by its file ID. The template version is automatically incremented after the file is removed, which invalidates any cached template content. Returns a JSON object with a 'success' boolean indicating whether the file was found and deleted. Requires edit permission on the template through ownership or sharing; returns permissionDenied if the caller lacks write access.

Form Params

templateId integer required

Unique numeric identifier of the template that contains the file to be deleted

300

id integer required

Unique numeric identifier of the template file to delete

123

Responses

200

Operation result with success status

400

Bad request — invalid or missing parameters

401

Authentication error

403

Forbidden — insufficient permissions

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.