Updates the automation with the specified id.

PUT

Updates the automation with the specified id. The user needs to be the owner of the project or have ‘write’ permissions of the feature ‘project-master-data’ globally or in the project.

Required Permissions: Any authenticated user.

Path parameters

automationIdstringRequired
The id of the automation.
projectIdstringRequired
The id of the project.

Request

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

Response

This endpoint returns an object
idstringOptional
The id of the automation.
createdBystringOptional
The id of the user who created the automation.
createdOndatetimeOptional
The date the automation was created.
updatedBystringOptional
The id of the user who updated the automation.
updatedOndatetimeOptional
The date the automation was updated.
triggerIdstringOptional
The id of the trigger which is related to the automation.
triggerobjectOptional
enabledbooleanOptional
Whether the automation is enabled.
statestringOptional
The state of the automation. See AutomationsService.DAL.Models.AutomationState for the possible values.
createdByProjectTemplatebooleanOptional
Whether the automation was created from an automation template of a project template.
projectIdstringOptional
The id of the project which is related to the automation.
projectTemplateIdstringOptional
The id of the project template which is related to the automation.
actionslist of objectsOptional
The actions which is related to the automation.
failedobjectOptional