Summary
Replaces a automation document.
Description
Replaces a automation document.
Route
PUT /automation-studio/automations/:id
Roles
admin
apiwrite
designer
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| id |
string |
yes |
Automation id. |
| update |
object |
yes |
Complete automation definition to replace the existing automation document with. |
Copied to Clipboard
{
"type": "object",
"properties": {
"update": {
"title": "update",
"description": "Complete automation definition to replace the existing automation document with.",
"$ref": "automationUpdate"
}
},
"required": [
"update"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| response |
object |
Response object. |
Copied to Clipboard
{
"edit": "culpa adipisicing velit aliqua veniam"
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"updated": {
"description": "Automation document after applying the update.",
"$ref": "automation"
},
"edit": {
"type": "string",
"description": "URI to the edit page for the updated automation."
}
},
"required": [
"updated",
"edit"
]
}