---
title: "RemoveGroupFromCustomer"
method: DELETE
path: "/v2/customers/{customer_id}/groups/{group_id}"
tags: ["Customers"]
---

# RemoveGroupFromCustomer

`DELETE /v2/customers/{customer_id}/groups/{group_id}`

Removes a group membership from a customer.

The customer is identified by the `customer_id` value
and the customer group is identified by the `group_id` value.

## Path parameters

- `customer_id` string, required
- `group_id` string, required

## Response `200`

Success

- RemoveGroupFromCustomerResponse — Defines the fields that are included in the response body of a request to the [RemoveGroupFromCustomer](https://developer.squareup.com/reference/square_2021-08-18/customers-api/remove-group-from-customer) endpoint.
  - `errors` Error[] — Any errors that occurred during the request.
    - `category` string, required — The high-level category for the error.
    - `code` string, required — The specific code of the error.
    - `detail` string — A human-readable description of the error for debugging purposes.
    - `field` string — The name of the field provided in the original request (if any) that the error pertains to.

---

[API](https://skmtc.net/square/apis/squareup.md) · [All operations](https://skmtc.net/square/apis/squareup/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/square/squareup/revisions/8d95e3639487/schema)
