| Copyright | (c) 2015-2016 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 |
Network.Google.Resource.Directory.Tokens.Delete
Description
Delete all access tokens issued by a user for an application.
See: Admin Directory API Reference for directory.tokens.delete.
Synopsis
- type TokensDeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("tokens" :> (Capture "clientId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- tokensDelete :: Text -> Text -> TokensDelete
- data TokensDelete
- tdClientId :: Lens' TokensDelete Text
- tdUserKey :: Lens' TokensDelete Text
REST Resource
type TokensDeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("tokens" :> (Capture "clientId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for directory.tokens.delete method which the
TokensDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> TokensDelete |
Creates a value of TokensDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TokensDelete Source #
Delete all access tokens issued by a user for an application.
See: tokensDelete smart constructor.
Instances
Request Lenses
tdClientId :: Lens' TokensDelete Text Source #
The Client ID of the application the token is issued to.