Permanently deletes a group. Only users with admin-level permissions will be able to use this API.
57645
The ID of the group.
A blank response is returned if the group was successfully deleted.
An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/groups/57645" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.groups.deleteGroupById(group.id);
client.groups.delete_group_by_id(group.id)
await client.Groups.DeleteGroupByIdAsync(groupId: group.Id);
try await client.groups.deleteGroupById(groupId: group.id)
BoxGroup group = new BoxGroup(api, "id");
group.delete();
client.group(group_id='11111').delete()
print('The group was deleted!')
await client.GroupsManager.DeleteAsync("11111");
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.")
}