Delete player record
Delete a player (aka Subscription).
This is a Legacy API. Use Delete User or Delete Subscription instead.
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
app_id | string | Yes | Your OneSignal App ID. |
player_id | string | Yes | The Subscription ID to delete. |
Headers
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. |
Example Request
Example Response
The Subscription will be deleted from the OneSignal database.