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. |