Creates a new action for an automation of a projecttemplate.

Creates an action for a specific automation of a projecttemplate including all its values. The user needs 'write' permissions of the feature 'project-manage-config' to create action data. <Check title="Required Permissions">The user must be an admin or have `project-manage-config:write` permissions.</Check>

Path parameters

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

Headers

AuthorizationstringRequired

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

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.
createdOnstring or nullformat: "date-time"
The date the action was created.
updatedBystring or nullformat: "uuid"
The id of the user who updated the action.
updatedOnstring or nullformat: "date-time"
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.