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

# Update Service Group

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

Use this endpoint to **Update** a Service Group object. A valid **serviceGroup id** is required.

## Path parameters

- `id` integer, required

## Request body

- ServiceGroupInputModel
  - `locationId` string, nullable
  - `name` string, nullable
  - `description` string, nullable
  - `type` integer, nullable

## 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)
