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": "3e241a19-c3d7-ad77-b7c7-69457114077d",
"nodeid": "fa7a6e14-403b-7042-9fe5-324aaf921f90",
"groups": [
"1215c4aa-7eb8-2075-dc63-399107ec3f90",
"b1c91483-93a6-e7aa-5345-a04160d058fb",
"30cf0522-eda6-51d8-d990-68bdf21cf417"
]
}
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 |
string |
Add/Update status. |
Copied to Clipboard
"failure"
Copied to Clipboard
{
"type": "string",
"enum": [
"success",
"failure"
]
}