---
title: "Changes to Set the state of a restriction by ID"
method: PUT
path: "/restrictions/{id}/state"
---

# Changes to Set the state of a restriction by ID

`PUT /restrictions/{id}/state`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 15 revisions.

- **2025-07-31** `7ee76f0ff679` — 3 breaking, 3 info
- **2025-07-31** `a800b73f11c1` — 3 breaking, 3 info
- **2025-07-30** `b79d96775b13` — 3 breaking, 3 info

## Changes

- **2025-07-31** `7ee76f0ff679` — 3 breaking, 3 info
  - removed the enum value ``deleted`` of the request property `state`
  - removed the enum value ``disabled`` of the request property `state`
  - removed the enum value ``enabled`` of the request property `state`
  - added the new `deleted` enum value to the request property `state`
  - added the new `disabled` enum value to the request property `state`
  - added the new `enabled` enum value to the request property `state`
- **2025-07-31** `a800b73f11c1` — 3 breaking, 3 info
  - removed the enum value `deleted` of the request property `state`
  - removed the enum value `disabled` of the request property `state`
  - removed the enum value `enabled` of the request property `state`
  - added the new ``deleted`` enum value to the request property `state`
  - added the new ``disabled`` enum value to the request property `state`
  - added the new ``enabled`` enum value to the request property `state`
- **2025-07-30** `b79d96775b13` — 3 breaking, 3 info
  - removed the enum value ``deleted`` of the request property `state`
  - removed the enum value ``disabled`` of the request property `state`
  - removed the enum value ``enabled`` of the request property `state`
  - added the new `deleted` enum value to the request property `state`
  - added the new `disabled` enum value to the request property `state`
  - added the new `enabled` enum value to the request property `state`

---

[Operation](https://skmtc.dev/nextbillion-ai/apis/one-spec-service/docs/restrictions/:id/state/put.md) · [API](https://skmtc.dev/nextbillion-ai/apis/one-spec-service.md) · [Page](https://skmtc.dev/nextbillion-ai/apis/one-spec-service/changes/restrictions/:id/state/put)
