Box Developer Documentation
Latest version

Remove group

delete
https://api.box.com/2.0
/groups/:group_id

This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.

Permanently deletes a group. Only users with admin-level permissions will be able to use this API.

Request

bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
57645

The ID of the group.

Response

none

A blank response is returned if the group was successfully deleted.

application/jsonClient error

An unexpected client error.

delete
Remove group
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

Learn more about Box SDK versionig strategy.


cURL
curl -i -X DELETE "https://api.box.com/2.0/groups/57645" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
Node/TypeScript v10
await client.groups.deleteGroupById(group.id);
Python v10
client.groups.delete_group_by_id(group.id)
.NET v10
await client.Groups.DeleteGroupByIdAsync(groupId: group.Id);
Swift v10
try await client.groups.deleteGroupById(groupId: group.id)
Java v10
client.getGroups().deleteGroupById(group.getId())
Java v4
BoxGroup group = new BoxGroup(api, "id");
group.delete();
Python v3
client.group(group_id='11111').delete()
print('The group was deleted!')
.NET v5
await client.GroupsManager.DeleteAsync("11111");
Node v3
client.groups.delete('11111')
	.then(() => {
		// deletion succeeded — no value returned
	});