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": "b83b3178-84c1-859b-edcb-771726abcb4d",
"nodeid": "622766e2-03ed-ae7e-d1a2-1f0b249a7541",
"groups": [
"1e937496-611d-732d-197e-e9c27f0d05f1",
"53e1c446-b590-8863-73b8-dcadb8cda483",
"b47c358d-adac-8cc4-1d9c-64cbc486c751",
"66ac2f95-46ef-1dbf-1af7-f8e6606ef7e1"
]
}
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"
]
}