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 |
Remove a person from a circle.
See: Google+ Domains API Reference for plusDomains.circles.removePeople
.
- type CirclesRemovePeopleResource = "plusDomains" :> ("v1" :> ("circles" :> (Capture "circleId" Text :> ("people" :> (QueryParams "email" Text :> (QueryParams "userId" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))))))
- circlesRemovePeople :: Text -> CirclesRemovePeople
- data CirclesRemovePeople
- crpEmail :: Lens' CirclesRemovePeople [Text]
- crpUserId :: Lens' CirclesRemovePeople [Text]
- crpCircleId :: Lens' CirclesRemovePeople Text
REST Resource
type CirclesRemovePeopleResource = "plusDomains" :> ("v1" :> ("circles" :> (Capture "circleId" Text :> ("people" :> (QueryParams "email" Text :> (QueryParams "userId" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))))) Source
A resource alias for plusDomains.circles.removePeople
method which the
CirclesRemovePeople
request conforms to.
Creating a Request
Creates a value of CirclesRemovePeople
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CirclesRemovePeople Source
Remove a person from a circle.
See: circlesRemovePeople
smart constructor.
Request Lenses
crpEmail :: Lens' CirclesRemovePeople [Text] Source
Email of the people to add to the circle. Optional, can be repeated.
crpUserId :: Lens' CirclesRemovePeople [Text] Source
IDs of the people to remove from the circle. Optional, can be repeated.
crpCircleId :: Lens' CirclesRemovePeople Text Source
The ID of the circle to remove the person from.