Delete program templates

Deletes one or more program templates by their unique identifiers. The deletion is performed asynchronously
and returns operation IDs for tracking progress. Optionally deletes associated tasks that were part of the
template structure.

Key Features:

  • Deletes multiple program templates in a single API call
  • Performs deletion asynchronously for better performance
  • Returns operation IDs for tracking deletion progress
  • Optionally deletes associated template tasks
  • Maintains referential integrity of template relationships
  • Does not affect programs created from the template
  • Creates audit trail of template deletion

Authorization Logic:

  1. User must have a valid JWT token with management scopes
  2. User must have program update permissions
  3. User must have permission to delete templates in the space
  4. User must have permission to delete each specified template

Usage Example:

Delete obsolete or outdated program templates that are no longer needed, or remove test templates
created during development. Existing programs created from these templates remain unaffected.

Path Params
string
required
length between 7 and 22

The unique identifier of the space containing the target entity. This determines the scope of entity queries and ensures proper access control. The space must be accessible to the authenticated user with appropriate permissions. It can be the unique identifier (GUID) of the space or the word "default" to indicate the default programs space. Common values include "default" and "rkr83lapKkyCJuLLWqLqzB".

Query Params
ids
array of strings

List of unique identifiers of the program templates to delete. Must contain at least one valid template ID.

ids
boolean
Defaults to false

Optional flag to also delete associated template tasks. Default is false. When true, all tasks that are part
of the template structure will be deleted along with the template.

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json