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": "707ff459-2876-2b9a-9f3b-9b95d445e075",
"nodeid": "162db8b0-f1bf-d657-7114-3d6095eee56f",
"groups": [
"5a6757c9-7693-970c-b911-1a2ee53664bc",
"f0f03881-f7bc-20a4-e90d-84a72162ec57",
"3d26cea9-11f2-a5d4-fed4-9978b5388e96",
"75272c43-4724-bfbc-280b-5e6c0901660f"
]
}
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
"success"
Copied to Clipboard
{
"type": "string",
"enum": [
"success",
"failure"
]
}