• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
Delete customer group BETA

Deletes a customer group as identified by the group_id value.

Required permissions: CUSTOMERS_WRITE

Path Parameters

Name Description
group_id
string

Required

The ID of the customer group to delete.

Response Fields

Name Description
errors
Error [ ]

Any errors that occurred during the request.

Examples

You are viewing an old version of the API
DELETE /v2/customers/groups/{group_id}
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
curl https://connect.squareup.com/v2/customers/groups/group_id0 \
  -X DELETE \
  -H 'Square-Version: 2020-06-25' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response JSON
{}

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?