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": "91303c2f-e292-d558-4df3-3cbeaf32c7c9",
"nodeid": "1c1e82d8-c86e-ddf6-ddc4-470dc98c0f0e",
"groups": [
"7ee82fe1-0a2b-a3be-f03a-47135136cd84",
"936d4b91-96a8-f8cc-343d-d5634a9e3a02",
"242e7402-a94a-72f9-01af-b0d435514523"
]
}
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"
]
}