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": "cd50e722-03ce-e2f9-9907-9c35c7119cb4",
"nodeid": "8cd21960-3726-4598-f88d-41ae825e7105",
"groups": [
"9f3a57fa-c8ac-16f7-869f-0f9f62d3113e",
"749e4107-f100-8f16-b74e-fd38121664c9",
"61c925f6-c601-cf8f-17e5-42dfdf013389"
]
}
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"
]
}