# PUT /api/v1/players/{} is deprecated

Onesignal deprecated PUT /api/v1/players/{id} without giving a shutdown date yet.

Onesignal has deprecated PUT /api/v1/players/{id} without a shutdown date. Calls made to this endpoint will eventually fail. Onesignal identifies this as a legacy interface.

## What to use instead

Use Update User via PATCH api.onesignal.com/apps/{app_id}/users/by/{alias_label}/{alias_id} or Update Subscription via PATCH api.onesignal.com/apps/{app_id}/subscriptions/{subscription_id} instead.

- API: Onesignal (onesignal.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `PUT /api/v1/players/{id}`
- Source: [Announcement](https://documentation.onesignal.com/reference/edit-device)
- Verified: November 6, 2026, against Onesignal's own pages
- Page: https://www.okapi.bot/providers/onesignal/breaking-changes/put-api-v1-players-is-deprecated/

## Onesignal's words

> This is a Legacy API. Use Update User or Update Subscription instead.

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