Deletes the specified automation for a given projecttemplate.
Changed onDeletes 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. Automations created from a workflow cannot be deleted via this endpoint.
<Check title="Required Permissions" icon="key">The user must be an admin or have project-manage-config:write permissions.</Check>
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/projecttemplates/{projectTemplateId}/automations/{automationId}
- Auth: HTTP bearer
Path parameters
The id of the automation.
The id of the project template.
Query parameters
Whether to delete the automation also from all projects of the projecttemplate.
Response
No Content
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
DeleteProjectTemplateAutomationremoved and replaced withprojectTemplateAutomations_DeleteProjectTemplateAutomation
- info