Delete player record
deprecated
Delete a player (aka Subscription).
The Subscription will be deleted from the OneSignal database.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Required | Description |
|---|---|---|---|
app_id | string | Yes | Your OneSignal App ID. |
player_id | string | Yes | The Subscription ID to delete. |
| Header | Value | Required | Description |
|---|---|---|---|
Authorization | Basic YOUR_LEGACY_REST_API_KEY | Yes | Your Legacy OneSignal API key. |
Content-Type | application/json | Yes | The content type of the request. |
DELETE /api/v1/apps/your_app_id/users/user123 HTTP/1.1
Host: onesignal.com
Authorization: Basic YOUR_LEGACY_REST_API_KEY
Content-Type: application/json
{
"success": true
}
Was this page helpful?