Updates the automation with the specified id for a given projecttemplate.

Updates the specified automation for a specific projecttemplate. To update the the automation the user needs to have ‘write’ permissions of the feature ‘project-manage-config’ globally.

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

Path parameters

automationIdUUIDRequired
projectTemplateIdUUIDRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
enabledbooleanRequired
Whether the automation is enabled.
triggerobjectRequired

Response

OK
idUUID or null
The id of the automation.
createdByUUID or null
The id of the user who created the automation.
createdOndatetime or null
The date the automation was created.
updatedByUUID or null
The id of the user who updated the automation.
updatedOndatetime or null
The date the automation was updated.
triggerIdUUID or null
The id of the trigger which is related to the automation.
triggerobject or null
enabledboolean or null
Whether the automation is enabled.
statestring or null or null
The state of the automation. See AutomationsService.DAL.Models.AutomationState for the possible values.
createdByProjectTemplateboolean or null
Whether the automation was created from an automation template of a project template.
projectIdUUID or null or null
The id of the project which is related to the automation.
projectTemplateIdUUID or null or null
The id of the project template which is related to the automation.
actionslist of objects or null
The actions which is related to the automation.
failedobject or null