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": [
"54fa3497c84c67af39b54f82",
"0804d25ad4107143fafbd748"
],
"read": [
"8fb93a04406b09413f14f709",
"44c23c69f2709f8aafdfe2b5",
"6462ffdaee4ea37a34abe5d5"
]
},
"componentId": "6D11DCea-efC8-671C-Fd31-e8C42A10C39A"
}
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": "2808fefaa6e11eb1c9ba38c1",
"created": "1958-08-22T16:09:16.329Z",
"lastUpdatedBy": "96ee367f8fa639ed9f4f1dee",
"lastUpdated": "1986-05-15T21:43:22.939Z",
"_id": "9b8142aa75983aa1a3d4548b",
"gbac": {
"write": [
"c9ada21add3e964fbc68dca5",
"1ccd650787e06a438e0c8293"
],
"read": [
"59adec3370d9d63cb5d446f8",
"9f6292d04eff7a13b59ce0c4",
"da3df835afa89d5b8f849b51",
"5e6331dc6dfa4e0ba3452817",
"99652129915beb9ff6cd1e07"
]
},
"componentId": ""
}
}