Remove user from group

delete
https://api.box.com/2.0
/group_memberships/:group_membership_id

Deletes a specific group membership.

Request

application/json

Path Parameters

stringin pathrequired
434534

The ID of the group membership.

Response

none

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

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

Request Example

cURL
curl -X DELETE https://api.box.com/2.0/group_memberships/434534 \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
.NET
await client.GroupsManager.DeleteGroupMembershipAsync("33333");
Java
BoxGroupMembership membership = new BoxGroupMembership(api, id);
membership.delete();
Python
membership_id = '1234'
client.group_membership(membership_id).delete() 
print('The membership was deleted!')
Node
client.groups.removeMembership('33333')
	.then(() => {
		// removal succeeded — no value returned
	});