Good morning; not sure if this is the right place to ask. Have cloned the “Super Admin” role via the UI and this only transfers partial permissions. Following Nutanix KB article: 00006224, dated: 8th Apr 2020 … https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000LKhrCAG
It says we need to use REST API Explorer. I have extracted all the permissions from the default SA role, and created the JSON to ‘PUT’ these permissions into the cloned role but this is not working and I get a response code 422 and "'name' is a required property"
Does anyone have some sample code that actually works that I can compare to?
My code looks like this (example)
{
"spec": {
"name": "<cloned role name here>",
"resources": {
"permission_reference_list": s
{
"kind": "permission",
"name": "Snapshot_Virtual_Machine",
"uuid": "<uuid here>"
},
<repeated, repeated, repeated!!>
]
}
},
"metadata": {
"kind": "role",
"spec_version": 1
},
"api_version": "3.1.0"
}
Thanks in advance if someone can point me in the right direction.