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": [
"df119d9cdf17b4a11cface75",
"b812c2ffa1a9d8ca9630dd41",
"b8df1f57ee423ce86fae5ef8"
],
"read": [
"dd5d5feedb7477960fa4842f",
"be0895c339a65b96112990e0",
"80ebbabc502f49ead61c9fb4",
"d3a8793a30e7f04d71a1591e",
"ee270fe684a1892254852509"
]
},
"componentId": ""
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "Pronghorn",
"created": "1960-10-10T12:02:07.677Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2003-12-03T14:13:18.527Z",
"_id": "3cc2334539ea24b01edb6e56",
"gbac": {
"write": [
"19e991306d7af902ab0a2dea",
"c6405fb00fee589543f2df55"
],
"read": [
"e9dd4b97934991629cd21545",
"5d11fd6a81c0a0798300db37",
"ae21eb48eb62655f4a6becb1",
"210f68e7ea84e7a19b4f0f3f"
]
},
"componentId": "56fd0aa9434d5139061eb2fe"
}
}