Deletes the specified automation for a given projecttemplate.

DELETE

Deletes the specified automation with its trigger and all its values. To delete the the automation the user needs to have ‘write’ permissions of the feature ‘project-manage-config’ globally. If the ‘removeFromProject’ boolean is set to true, all automations in projects of that project template created from that automation template are deleted aswell.

Required Permissions: The user must be an admin or have project-manage-config:write permissions.

Path parameters

automationIdstringRequired

The id of the automation.

projectTemplateIdstringRequired

The id of the project template.

Query parameters

removeFromProjectsbooleanOptional

Whether to delete the automation also from all projects of the projecttemplate.