---
title: "Delete a customer group"
method: DELETE
path: "/customers/groups/{id}"
tags: ["Admin Customer Groups"]
---

# Delete a customer group

`DELETE /customers/groups/{id}`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/customers/groups/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/customers/groups/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Refuses if the group is a system group (is_user_defined=0) or has customers attached (400).

## Path parameters

- `id` integer, required

## Response `200`

Customer group deleted.

## Other responses

- `400`: Refused — system group or has attached customers.
- `404`: Not found

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
