Summary
Clone Automation
Description
Clone an Automation.
Route
POST /operations-manager/automations/clone
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
automation | object | yes | The id of the Automation to be cloned and, optionally, a name to assign to the clone. |
{ "id": "d4b8bb7b74a7abaccfc384f8", "name": "myCoolDocumentName" }
{ "title": "automation", "properties": { "id": { "description": "The id of the Automation to be cloned.", "$ref": "common#/definitions/ObjectIdLikeString" }, "name": { "description": "An optional name to use for the clone.", "oneOf": [ { "type": "null" }, { "$ref": "common#/definitions/name" } ] } } }
Return
Name | Type | Description |
---|---|---|
result | object | The result of the clone operation. |
{ "message": "Successfully retrieved search results", "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "componentType": null, "createdBy": null, "created": "1968-01-21T23:35:52.849Z", "lastUpdatedBy": null, "lastUpdated": "1964-07-24T11:10:30.796Z", "_id": "4949d81120c9a2669b284255", "gbac": { "write": [ "febc5bf5ec2fd99dc0532a03", "9f7901b3a10e3e88478e32d6", "82d2d8068b5ab8bf631a98ff", "a950eb0eb0daf2ae787907a8" ], "read": [ "b757fd35b167db77644167e0", "577f0f56635b32015c14ba67", "4bee11000c11724aa3e39da5", "9b42523dd3e9f5418acae12c", "69ed206be3365e376541db43" ] }, "componentId": null }, "metadata": { "automaticChanges": [ "ex Duis", "occaecat ullamco culpa tempor deserunt", "enim sunt sint dolor", "ut", "non ut irure" ], "triggerCloneResults": { "message": "id cupidatat dolor proident minim", "data": [ { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "endpoint", "enabled": false, "actionType": "automations", "actionId": "f557811641a54804ada0e635", "lastExecuted": 71660420, "createdBy": "nostrud", "created": "2015-07-29T23:45:51.605Z", "lastUpdatedBy": "reprehenderit consectetur", "lastUpdated": "1948-09-02T02:35:26.577Z", "verb": "POST", "routeName": "wxmo-Gjxft", "schema": null, "_id": "c9cf496632040219967a5d20", "jst": null, "migrationVersion": -81792935 }, "automaticChanges": [ "est et", "dolor", "ad proident voluptate in", "occaecat esse enim est" ] }, { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "manual", "enabled": true, "actionType": "automations", "actionId": "3e352fc516bf4ce6d3b80c84", "lastExecuted": null, "createdBy": null, "created": "2014-02-14T10:24:46.69Z", "lastUpdatedBy": "anim", "lastUpdated": "1952-07-24T05:46:56.34Z", "formData": { "deviceName": "ATL-123", "action": "SYNC" }, "_id": "09a7ddc84d10d796083946b0", "formId": null, "migrationVersion": 92870095, "formSchemaHash": "sint elit" }, "automaticChanges": [ "eiusmod non in", "consectetur quis deserunt est cillum", "qui aliquip irure voluptate", "laboris consequat" ] }, { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "endpoint", "enabled": false, "actionType": "automations", "actionId": "d5c6cc276ce4e2d048d84f15", "lastExecuted": null, "createdBy": null, "created": "1950-02-04T12:02:10.818Z", "lastUpdatedBy": null, "lastUpdated": "1992-10-28T18:44:41.749Z", "verb": "POST", "routeName": "k_mYbZrW", "_id": "0439f7d39094903b9c6ae8ff", "jst": null, "migrationVersion": 86405422 }, "automaticChanges": [ "nisi aliquip sunt dolore occaecat", "dolore magna est velit" ] }, { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "manual", "enabled": true, "actionType": "automations", "actionId": "9804879ddeb4093f1c52ba04", "lastExecuted": null, "createdBy": null, "created": "2025-06-12T02:28:31.81Z", "lastUpdatedBy": "amet ut", "lastUpdated": "1986-04-20T01:11:33.432Z", "formData": { "ip": "1.2.3.4", "name": "myNewDevice" }, "_id": "af64299de569f70c25571e52", "formId": null, "migrationVersion": -2483055, "formSchemaHash": "do eiusmod anim velit" }, "automaticChanges": [ "occaecat est ipsum adipisicing laborum", "sit incididunt", "dolore Ut dolor" ] }, { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "eventSystem", "enabled": true, "actionType": "automations", "actionId": "bbdd06801cf9191dd5177ec6", "lastExecuted": 67116304, "createdBy": null, "created": "1948-11-29T06:19:41.678Z", "lastUpdatedBy": null, "lastUpdated": "2001-01-19T10:17:33.015Z", "source": "dolor", "topic": "sed Excepteur in", "_id": "817beec24bdffeadd4c65350", "jst": null, "migrationVersion": -52581344 }, "automaticChanges": [ "Lorem sunt", "aliqua pariatur voluptate ut", "laboris", "dolor dolor et in reprehenderit", "proident amet Duis deserunt" ] } ] } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "automation-api" }, "metadata": { "type": "object", "properties": { "automaticChanges": { "type": "array", "items": { "title": "messages", "type": "string", "example": "Disabled trigger 628672e8f677b67b3b0f20d7" } }, "triggerCloneResults": { "type": "object", "properties": { "message": { "type": "string" }, "metadata": { "type": "object" }, "data": { "type": "array", "items": { "type": "object", "properties": { "success": { "type": "boolean" }, "data": { "$ref": "trigger-api" }, "automaticChanges": { "type": "array", "items": { "title": "messages", "type": "string", "example": "Disabled trigger 628672e8f677b67b3b0f20d7" } } } } } } } } } } } ] }