PUT /v1/users/{}/preferences/{}/* → endpoint removal
Deprecated, no date
Knock deprecated the PUT /v1/users/{}/preferences/{}/* endpoint without a shutdown date. The endpoint updates channel types in a specific user preference set, but calls to it will eventually fail. Developers using this path should prepare for its removal.
Calls it hits
PUT /v1/users/{}/preferences/{}/*
What to use instead of these calls
Set the whole preference set using PUT /v1/users/{user_id}/preferences/{id} with channel_types, categories, and workflows in the request body.
In Knock API's words
Updates the channel types in a specific user preference set. This operation is deprecated.
Facts
- API
- Knock API
api.knock.app - Kind
- Endpoint removal
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Knock API's own pages
Questions
When does this change take effect?
Knock API deprecated PUT /v1/users/{}/preferences/{}/* without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: Knock API has not given a shutdown date yet.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Knock API 1
-
No date
PUT /v1/objects/{}/{}/preferences/{}/categories/{}Endpoint removal Deprecated, no date
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.