Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Removes a push token for the current user and application. Removing a non-existent push token will report success.
See: Google Play Game Services API Reference for games.pushtokens.remove
.
- type PushtokensRemoveResource = "games" :> ("v1" :> ("pushtokens" :> ("remove" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` PushTokenId :> Post `[JSON]` ())))))
- pushtokensRemove :: PushTokenId -> PushtokensRemove
- data PushtokensRemove
- prPayload :: Lens' PushtokensRemove PushTokenId
REST Resource
type PushtokensRemoveResource = "games" :> ("v1" :> ("pushtokens" :> ("remove" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` PushTokenId :> Post `[JSON]` ()))))) Source
A resource alias for games.pushtokens.remove
method which the
PushtokensRemove
request conforms to.
Creating a Request
Creates a value of PushtokensRemove
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PushtokensRemove Source
Removes a push token for the current user and application. Removing a non-existent push token will report success.
See: pushtokensRemove
smart constructor.
Request Lenses
prPayload :: Lens' PushtokensRemove PushTokenId Source
Multipart request metadata.