# PUT /v1/objects/{}/{}/preferences/{}/categories/{} is deprecated

Knock API deprecated PUT /v1/objects/{}/{}/preferences/{}/categories/{} without giving a shutdown date yet.

The provider has deprecated the PUT /v1/objects/{}/{}/preferences/{}/categories/{} endpoint without a shutdown date. Calls to this endpoint will fail. The endpoint previously handled requests to update a specific category preference for an object preference set.

## What to use instead

Set the object preference set using PUT /v1/objects/{collection}/{object_id}/preferences/{id} with categories passed in the request body.

- API: Knock API (api.knock.app)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `PUT /v1/objects/{}/{}/preferences/{}/categories/{}`
- Source: [Announcement](https://docs.knock.app/openapi.json)
- Verified: October 26, 2026, against Knock API's own pages
- Page: https://www.okapi.bot/providers/knock-api/breaking-changes/put-v1-objects-preferences-categories-is-deprecated/

## Knock API's words

> Updates a specific category preference for an object's preference set. Deprecated.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
