| 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.Users.Photos.Delete
Description
Remove photos for the user
See: Admin Directory API Reference for directory.users.photos.delete.
Synopsis
- type UsersPhotosDeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("photos" :> ("thumbnail" :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- usersPhotosDelete :: Text -> UsersPhotosDelete
- data UsersPhotosDelete
- updUserKey :: Lens' UsersPhotosDelete Text
REST Resource
type UsersPhotosDeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("photos" :> ("thumbnail" :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for directory.users.photos.delete method which the
UsersPhotosDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> UsersPhotosDelete |
Creates a value of UsersPhotosDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersPhotosDelete Source #
Remove photos for the user
See: usersPhotosDelete smart constructor.
Instances
Request Lenses
updUserKey :: Lens' UsersPhotosDelete Text Source #
Email or immutable ID of the user