Removes a push token for the current user and application. Removing a non-existent push token will report success. Try it now.
Request
HTTP request
POST https://www.googleapis.com/games/v1/pushtokens/remove
Authorization
This request requires authorization with the following scope:
Scope |
---|
https://www.googleapis.com/auth/games |
For more information, see the authentication and authorization page.
Request body
In the request body, supply data with the following structure:
{ "kind": "games#pushTokenId", "ios": { "apns_device_token": bytes, "apns_environment": string } }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
Uniquely identifies the type of this resource. Value is always the fixed string games#pushTokenId . |
|
ios |
object |
A push token ID for iOS devices. | |
ios.apns_device_token |
bytes |
Device token supplied by an iOS system call to register for remote notifications. Encode this field as web-safe base64. | |
ios.apns_environment |
string |
Indicates whether this token should be used for the production or sandbox APNS server.
Acceptable values are:
|
Response
If successful, this method returns a Pushtokens resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.