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": "1670baef-d845-3b65-4f05-e237dced469a",
"nodeid": "0676028b-984f-d3bd-dac2-705f567bbb0b",
"groups": [
"71d85389-63ef-cfb8-8287-15a730861266",
"da444cda-57da-adb4-c64c-d2c96a54e8a3",
"65515bc7-e563-4633-85e0-8d6bc22ec3c8",
"a08a7660-f66f-c70b-8a7a-1a76147b8703",
"bc0f47d7-1552-99eb-e1bd-0499a4479fab"
]
}
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"
]
}