Updates an exsting action including its values for an automation. Actions of automations created from a workflow cannot be modified.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
projectIdstringRequiredThe id of the project of the automation.
automationIdstringRequiredThe id of the automation.
actionIdstringRequiredThe id of the action.
Request body Required
The model to update an action.
application/json
typestringRequired1 The type of the action.
ordernumber or nullOptionalThe order of the action.
valuesarray of objectRequiredThe values of the action.
Show 2 properties
namestringRequired1 The name of the action value.
valueanyRequiredThe value of the action value.
Responses
200 OK
application/json
idstringOptionalThe id of the action.
createdBystringOptionalThe id of the user who created the action.
createdOnstringOptionalThe date the action was created.
updatedBystringOptionalThe id of the user who updated the action.
updatedOnstringOptionalThe date the action was updated.
typestring or nullOptionalThe type of the action.
ordernumber or nullOptionalThe order of the action.
valuesarray of object or nullOptionalThe values of the action.
Show 2 properties
namestring or nullOptionalThe name of the action value.
valuestring or nullOptionalThe value of the action value.
400 Bad Request
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.