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": "e7fa54cd-5b78-840e-672b-b0be6138023f",
"nodeid": "4a565066-89ed-5946-46d2-e8ee139f1a28",
"groups": [
"3074d824-c5db-b490-f022-7d9ee28103b6",
"68ad8ccb-4e8a-6382-969c-fddcbd5b19db",
"de0bf946-0c93-52c4-0f94-360119d26354",
"46e96ae6-3b22-425b-75c2-28688af0efa1",
"b95709a4-cec4-94b5-4e2a-86884f1070fb"
]
}
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
"success"
Copied to Clipboard
{
"type": "string",
"enum": [
"success",
"failure"
]
}