Passing variables to Calm runbooks | Nutanix Community
Skip to main content

I am trying to figure out how to pass variables to a calm runbook through a JSON post via the API. 

/api/nutanix/v3/runbooks/runbooku_uid/run

{
"kind": "runbook"
"spec": {
"args":
{
"name": "network_name",
"value": "Test123"
}

]

}

}

 

Hi AldenG,

Try with:

{
"spec": {
"args": [
{
"name": "var_name",
"value": "var_value"
}
]
}
}