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": [
"2372430be43afbbdc2979804",
"fe7ecfbad8eb78634f5eaecf",
"4dfffbae6546efd3303268fb",
"c5a168d31d0ea9345c58d003"
],
"read": [
"abff39f53546a1783b31de8c",
"a919a1e16ec2664bb0bfe185",
"eea254fc74d0f2de36d77ef9",
"774df3d3eda7c4ad89942292",
"dde37d13f07f479328430395"
]
},
"componentId": ""
}
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": "1955-08-19T04:39:56.807Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1968-10-06T16:19:54.74Z",
"_id": "62f8849db1aa8faacccad8d3",
"gbac": {
"write": [
"1bf82d8d807e667a08cdf272",
"ff749722efed6364a93a2e6e"
],
"read": [
"8a14f294f8ce792a48ff3858"
]
},
"componentId": ""
}
}