Permanently deletes a group.
A blank response is returned if the group was successfully deleted.
An unexpected client error.
curl -X DELETE https://api.box.com/2.0/groups/57645 \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
await client.GroupsManager.DeleteAsync("11111");
BoxGroup group = new BoxGroup(api, "id");
group.delete();
client.group(group_id='11111').delete()
print('The group was deleted!')
client.groups.delete('11111')
.then(() => {
// deletion succeeded — no value returned
});
client.groups.delete(groupId: "12345") {
(result: Result<Void, BoxSDKError>) in
guard case .success = result else {
print("Error deleting group")
return
}
print("Group was successfully deleted.")
}