---
title: "Update Service"
method: PATCH
path: "/v1/services/{serviceId}"
tags: ["Services"]
---

# Update Service

`PATCH /v1/services/{serviceId}`

## Path parameters

- `serviceId` string, required

## Request body

- object
  - `name` string
  - `brandId` string
  - `providerId` string
  - `description` string
  - `slug` string
  - `family` string
  - `subFamily` string
  - `groupName` string
  - `aliases` object[]
    - `name` string, required
  - `codes` object[]
    - `type` string, required
    - `code` string, required
  - `visibility` 'active' | 'deleted'

## Response `200`

Default Response

- object
  - `_id` string, required
  - `name` string, required
  - `brandId` string
  - `providerId` string
  - `description` string
  - `slug` string
  - `family` string
  - `subFamily` string
  - `groupName` string
  - `aliases` object[]
    - `name` string, required
  - `codes` object[]
    - `type` string, required
    - `code` string, required
  - `visibility` string
  - `createdAt` string, date-time, required
  - `createdBy` unknown
  - `updatedAt` string, date-time
  - `updatedBy` unknown

## Other responses

- `400` — Default Response
- `403` — Default Response
- `404` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/bluehive-health/apis/bluehive-api.md) · [All operations](https://skmtc.net/bluehive-health/apis/bluehive-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluehive-health/bluehive-api/versions/e6e553c2594a/schema)
