PDF Generator API icon

PDF Generator API

Generate PDFs, manage templates, convert HTML/URLs to PDF, and perform PDF operations like watermarking, encryption, and optimization

Template → Delete

AI-generated

Overview

This node operation deletes a specified PDF template from the PDF Generator API service. It is useful in scenarios where you need to remove outdated or unwanted templates from your document generation system to keep your template library clean and up to date. For example, if a template is no longer used or needs to be replaced, this operation allows you to delete it by providing its template ID.

Use Case Examples

  1. Deleting a template by selecting it from a list of available templates.
  2. Deleting a template by directly entering its numeric template ID.

Properties

Name Meaning
Template Select the template to work with, either from a list or by entering its ID directly.

Output

JSON

  • success - Indicates if the template was successfully deleted (true/false).
  • message - Confirmation message about the deletion status.
  • templateId - The ID of the template that was deleted.

Dependencies

  • Requires an API key credential for the PDF Generator API service.

Troubleshooting

  • If the template ID is invalid or does not exist, the node will throw an error indicating the operation is not supported or the template could not be found.
  • Ensure the template ID is a numeric string as per validation rules.
  • Check API credentials and network connectivity if requests fail.

Discussion