Summary
Create Automation
Description
Create a new Automation.
Route
POST /operations-manager/automations
Roles
admin
apiwrite
engineering
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
automation |
object |
yes |
The details of the Automation document to be created. |
Copied to Clipboard
{
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "ucm_compliance_plans",
"gbac": {
"write": [
"84e02bfaf006d3494e9b845d",
"8cbe9ce38d260984dbd16e98",
"cc02863d1363ae657a1a03f2"
],
"read": [
"04c30373cb636e73f448a329",
"4ca9700a7ab46d019ea3ec16",
"6752f7b46af90dc0f87c61c5",
"fa19512888ced88140b3e65d"
]
},
"componentId": "99e551e1f1547b9f214f103a"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "Pronghorn",
"created": "2022-09-19T00:43:45.22Z",
"lastUpdatedBy": "53b54953d18f1fc68d6fa589",
"lastUpdated": "1999-12-12T04:37:29.351Z",
"_id": "0ba58cd2cdb863e1d190107d",
"gbac": {
"write": [
"e6a20619295475975b7b1b11",
"412ca7e51f6f7f7bdd092544",
"4d930290a67d58f85b0fa013"
],
"read": [
"edaa0819c2db4d4352546941",
"8bced0262180953182dea779",
"0c2741c03879e72a2a81d452"
]
},
"componentId": "DA8AD61D-6ce4-f8Da-7C36-26C51B6f2DDd"
}
}