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
idstringformat: "uuid"
The id of the action.
createdBystringformat: "uuid"
The id of the user who created the action.
createdOndatetime
The date the action was created.
updatedBystringformat: "uuid"
The id of the user who updated the action.
updatedOndatetime
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.

Errors

400
Bad Request Error