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": "fbafb48805b2b0fd0c8e8afa", "name": null }
{ "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": "ucm_compliance_plans", "createdBy": null, "created": "1999-09-25T20:50:04.199Z", "lastUpdatedBy": null, "lastUpdated": "1960-04-10T20:54:23.833Z", "_id": "7f6cbb333b9f8c0bc7f56758", "gbac": { "write": [ "754090f7d1c018727d0de29e", "9de0cd7ecd573ade6e0ba2fc", "3bed68916d311bfb4e568d12", "75253176fded5a2b02c1a288" ], "read": [ "ec15d3828e2e4a1cdd911ca5", "df12facb2ce1de62825d3c0e", "ed5c9aadc16275feff62549b", "c5b81309f5e6201f3a599d6b", "b3905401c320d37f977185d5" ] }, "componentName": null }, "metadata": { "automaticChanges": [ "do in dolore eu", "ut irure sunt fugiat Duis", "sunt", "minim pariatur", "nisi commodo" ], "triggerCloneResults": { "message": "Lorem", "data": [ { "success": false, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "manual", "enabled": true, "actionType": "automations", "actionId": "8c0fe8b3b55b91d11352bee9", "lastExecuted": 50066656, "createdBy": null, "created": "1953-08-27T01:22:49.719Z", "lastUpdatedBy": null, "lastUpdated": "1986-11-23T13:12:00.917Z", "formData": { "ip": "1.2.3.4", "name": "myNewDevice" }, "legacyWrapper": true, "_id": "a351744450b1182a162e0ec9", "formId": "08492680f495a3d3d224fb29", "migrationVersion": 30841258, "formSchemaHash": "magna" }, "automaticChanges": [ "laborum", "sed dolor" ] }, { "success": false, "data": { "name": false, "description": 2165318, "type": "in", "enabled": "sit non", "actionType": -30418699, "actionId": true, "lastExecuted": -63138598, "createdBy": -77019609.40018786, "created": 67301694.87719852, "lastUpdatedBy": 55134925.258297116, "lastUpdated": false, "formData": -3329768.585997209, "legacyWrapper": true, "firstRunAt": false, "nextRunAt": -96913546.76529373, "processMissedRuns": true, "locked": "proident dolore", "repeatUnit": 50031274.892444134, "repeatFrequency": "sint ea magna exercitation", "repeatInterval": "ea adipisicing mollit aliqua", "_id": -8739888.382969767, "formId": -67382242 }, "automaticChanges": [ "quis dolore reprehenderit ex", "et labore incididunt anim" ] }, { "success": false, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "eventSystem", "enabled": false, "actionType": "automations", "actionId": "fbd5aa0b99b5354c18fd2499", "lastExecuted": null, "createdBy": null, "created": "2013-02-28T14:53:52.901Z", "lastUpdatedBy": null, "lastUpdated": "1981-09-13T07:01:33.841Z", "source": "aliquip deserunt", "topic": "sint consectetur proident", "schema": null, "legacyWrapper": false, "_id": "b969c1114026c501e5ab51e7", "jst": null, "migrationVersion": -92130187 }, "automaticChanges": [ "consequat ullamco dolor", "occaecat magna labore eiusmod enim" ] }, { "success": true, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "manual", "enabled": true, "actionType": "automations", "actionId": "a020167eb630fbc1b7436f71", "lastExecuted": null, "createdBy": null, "created": "2025-08-28T15:26:22.517Z", "lastUpdatedBy": "minim aliqua", "lastUpdated": "1946-05-06T05:52:38.797Z", "formData": { "ip": "1.2.3.4", "name": "myNewDevice" }, "legacyWrapper": true, "_id": "c9553d3700f31d5cd85c8589", "formId": "13ec2922c4a07073d3ce260a", "migrationVersion": 50869975, "formSchemaHash": "Lorem est magna" }, "automaticChanges": [ "laboris nisi", "cillum incididunt", "Lorem" ] }, { "success": false, "data": { "name": "myCoolDocumentName", "description": "Some helpful information about the document", "type": "manual", "enabled": true, "actionType": "automations", "actionId": "a95a29b474c89524fa466ee2", "lastExecuted": 36957920, "createdBy": "minim", "created": "2009-12-19T23:21:15.987Z", "lastUpdatedBy": null, "lastUpdated": "2021-01-28T23:42:20.072Z", "formData": { "deviceName": "ATL-123", "action": "SYNC" }, "legacyWrapper": false, "_id": "18cf3238ab72b5e19cfbfe23", "formId": "7cc2abefb4741cb607496496", "migrationVersion": -29378375, "formSchemaHash": null }, "automaticChanges": [ "pariatur veniam", "minim", "dolore ex ad exercitation" ] } ] } } }
{ "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" } } } } } } } } } } } ] }