---
title: "PATCH /data-services/{data-service-id}"
method: PATCH
path: "/data-services/{data-service-id}"
tags: ["Data Services"]
---

# PATCH /data-services/{data-service-id}

`PATCH /data-services/{data-service-id}`

Updates a data service resource by identifier. 

Implements JSON Merge Patch [https://www.rfc-editor.org/rfc/rfc7396](https://www.rfc-editor.org/rfc/rfc7396)

## Path parameters

- `data-service-id` string, uuid, required

## Request body

- DataService — unresolved $ref

## Response `200`

Success

- DataService — unresolved $ref

## Other responses

- `400` — A 400 Bad Request response status is returned for validation or other business errors.
- `404` — Resource does not exist.

## Changes

> 7 revisions in range; 3 not diffed.

- **2024-12-17** `7bbdf1c10c96` — 16 breaking, 36 warning
  - the request's body type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `404`
  - …48 more
- **2024-10-22** `04c12ef2ae18` — 1 info
  - the response property `publisher` became required for the status `200`

[Change history](https://skmtc.dev/central-digital-and-data-office/apis/data-catalogue-metadata-api/changes/data-services/:data-service-id/patch.md)

---

[API](https://skmtc.dev/central-digital-and-data-office/apis/data-catalogue-metadata-api.md) · [All operations](https://skmtc.dev/central-digital-and-data-office/apis/data-catalogue-metadata-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/central-digital-and-data-office/data-catalogue-metadata-api/revisions/7bbdf1c10c96/schema)
