SysUpdateGroupName
Update a group's name, bypassing ownership/ACL checks.
Service | Operation |
---|---|
group | SYS_UPDATE_GROUP_NAME |
Method Parameters
Parameter | Description |
---|---|
groupId | ID of the group |
name | Name to apply |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var groupId = "a-group-id";
var name = "myGroupName";
var groupProxy = bridge.getGroupServiceProxy();
var postResult = groupProxy.sysUpdateGroupName(groupId, name);
if (postResult.status == 200) {
// Success!
}
{
"service": "group",
"operation": "SYS_UPDATE_GROUP_NAME",
"data": {
"groupId": "a-group-id",
"name": "myGroupName"
}
}
JSON Response
{
"status": 200,
"data": null
}