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": "c5b9ca8e-3d17-245f-e78b-3e8fedab3bcd",
"nodeid": "8e8f1230-e6c4-3179-af3a-0da91e2f6e6d",
"groups": [
"ed20b3f2-4ab1-9a52-fa1b-94f8ce6df8fd",
"44de715e-891f-5531-13da-c6cabd2bcc4b",
"23742c8e-cf8e-4f9d-6290-bebaba2818fc"
]
}
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
"failure"
Copied to Clipboard
{
"type": "string",
"enum": [
"success",
"failure"
]
}