Creates a new action for an automation of a project template.

Creates an action for a specific automation of a project template including all its values. Actions cannot be added to automations created from a workflow. <Check title="Required Permissions" icon="key">The user must be an admin or have `project-manage-config:write` permissions.</Check>

Authentication

AuthorizationBearer

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

Path parameters

projectTemplateIdstringRequiredformat: "uuid"
The id of the project template.
automationIdstringRequiredformat: "uuid"
The id of the automation.

Request

The model to create an action.
typestringRequired>=1 character
The type of the action.
valueslist of objectsRequired
The values of the action.
orderdouble or nullOptional
The order of the action.

Response

OK
idstring or nullformat: "uuid"
The id of the action.
createdBystring or nullformat: "uuid"
The id of the user who created the action.
createdOndatetime or null
The date the action was created.
updatedBystring or nullformat: "uuid"
The id of the user who updated the action.
updatedOndatetime or null
The date the action was updated.
typestring or null
The type of the action.
orderdouble or null
The order of the action.
valueslist of objects or null
The values of the action.