SysChangeGroupType
Changes the Group Type.
Service | Operation |
---|---|
group | SYS_CHANGE_GROUP_TYPE |
Method Parameters
Parameter | Description |
---|---|
groupId | ID of the group |
groupType | Group Type |
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 groupType = "group-type";
var groupProxy = bridge.getGroupServiceProxy();
var postResult = groupProxy.sysChangeGroupType(groupId, groupType);
if (postResult.status == 200) {
// Success!
}
{
"service": "group",
"operation": "SYS_CHANGE_GROUP_TYPE",
"data": {
"groupId": "a-group-id",
"groupType": "group-type"
}
}
JSON Response
{
"data": null,
"status": 200
}