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": "3cc6bfde-80c0-92c7-5ee9-7bda01518487",
"nodeid": "32135973-e5f3-9023-e414-a1199d248639",
"groups": [
"02e85fc0-423c-48d9-b78f-595d3d74a4c6",
"da60807c-74fb-7004-50d5-03b75930ab09",
"79321e6a-c8a5-2cbe-2e9e-123afbaddf97",
"205bebf8-7e3c-04b8-82c3-d0587709c928",
"82ef2b9e-9b46-0e4e-62cf-5d37fbabadbd"
]
}
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"
]
}