---
title: "Delete Service Group"
method: DELETE
path: "/setup/v1/servicegroups/{id}"
tags: ["ServiceGroups"]
---

# Delete Service Group

`DELETE /setup/v1/servicegroups/{id}`

Use this endpoint to **Delete** a Service Group object. A valid **serviceGroup id** is required. The service group is not permanently deleted and can be recovered by using the _PUT ​/setup​/v1​/servicegroups​/{id}​/recover_ endpoint.

## Path parameters

- `id` integer, required

## Response `200`

Success

- ServiceGroupViewModel
  - `object` string, nullable
  - `imageUrl` string, nullable
  - `id` string, nullable
  - `companyId` string, nullable
  - `locationId` string, nullable
  - `name` string, nullable
  - `type` integer
  - `description` string, nullable
  - `isDeleted` boolean

---

[API](https://skmtc.net/onsched/apis/onsched-setup-api.md) · [All operations](https://skmtc.net/onsched/apis/onsched-setup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onsched/onsched-setup-api/revisions/c5c023458a2f/schema)
