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": "workflows",
"gbac": {
"write": [
"8736f93c68582371c71c24d0"
],
"read": [
"c66d9baaaf6937fc0d591f0a",
"a5ef7b10fc411236b99e52ba",
"a38b51f6a54aa573df7c753c"
]
},
"componentId": "1f93c71ed30a50c151056841"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully created the requested item",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "Pronghorn",
"created": "1992-12-05T23:51:14.651Z",
"lastUpdatedBy": "819720e495b607eb42b80131",
"lastUpdated": "2009-12-27T02:25:29.451Z",
"_id": "2d52e054cf48887063a44007",
"gbac": {
"write": [
"064c9ae43c65e2b133da4905",
"f687ee5de90ffdb02dbe911c"
],
"read": [
"3ec3c78a66d12aa2b0bd6db8",
"968e46fcc2fa56cee5e0e1d8"
]
},
"componentId": ""
}
}