Summary
Add/Update user groups
Description
Add/Update user groups attached to a node.
Route
POST /golden_config/addUserGroups
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
tree |
string |
yes |
Tree ID. |
nodeid |
string |
yes |
Node ID. |
groups |
array |
yes |
Group IDs. |
Copied to Clipboard
{
"tree": "18624490-970c-7200-e400-2cb0a3a95554",
"nodeid": "9b44701b-b594-41b4-289c-cfac400f0228",
"groups": [
"f9af0efb-32ed-ca37-97c2-db5a07cba27a",
"bd848efe-20b2-9f2b-f572-769b9b68eff8",
"6861be32-ed56-ec17-8510-1a02612d5180",
"1da76b61-c22c-c06b-e5a5-dec983cd7fc0"
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"tree": {
"$ref": "IDType"
},
"nodeid": {
"$ref": "IDType"
},
"groups": {
"type": "array",
"items": {
"$ref": "IDType"
},
"minItems": 1
}
},
"required": [
"tree",
"nodeid",
"groups"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
data |
object |
Add/Update status. |
Copied to Clipboard
"failure"
Copied to Clipboard
{
"type": "string",
"enum": [
"success",
"failure"
]
}