---
title: "Changes to Update repo settings"
method: PUT
path: "/api/datasets/{namespace}/{repo}/settings"
---

# Changes to Update repo settings

`PUT /api/datasets/{namespace}/{repo}/settings`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 82 revisions.

- **2026-09-08** `bd17546f47b8` — 7 breaking, 3 info

## Changes

- **2026-09-08** `bd17546f47b8` — 7 breaking, 3 info
  - removed `subschema #1, subschema #2` from the `gated` request property `anyOf` list
  - the `discussionsSorting` request property type changed from no type to `string`
  - the `gatedNotificationsMode` request property type changed from no type to `string`
  - the `visibility` request property type changed from no type to `string`
  - the `discussionsSorting` response's property type changed from no type to `string` for status `200`
  - the `gatedNotificationsMode` response's property type changed from no type to `string` for status `200`
  - the `visibility` response's property type changed from no type to `string` for status `200`
  - added `subschema #1, subschema #2` to the `gated` request property `anyOf` list
  - added `subschema #1, subschema #2` to the `gated` response property `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `gated` response property `anyOf` list for the response status `200`

---

[Operation](https://skmtc.dev/huggingface/apis/hub-api-endpoints/docs/api/datasets/:namespace/:repo/settings/put.md) · [API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) · [Page](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/datasets/:namespace/:repo/settings/put)
