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 |
Removes the user from the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection.
See: Google Play EMM API Reference for androidenterprise.collectionviewers.delete
.
- type CollectionviewersDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))
- collectionviewersDelete :: Text -> Text -> Text -> CollectionviewersDelete
- data CollectionviewersDelete
- cdEnterpriseId :: Lens' CollectionviewersDelete Text
- cdCollectionId :: Lens' CollectionviewersDelete Text
- cdUserId :: Lens' CollectionviewersDelete Text
REST Resource
type CollectionviewersDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))) Source #
A resource alias for androidenterprise.collectionviewers.delete
method which the
CollectionviewersDelete
request conforms to.
Creating a Request
collectionviewersDelete Source #
Creates a value of CollectionviewersDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CollectionviewersDelete Source #
Removes the user from the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection.
See: collectionviewersDelete
smart constructor.
Request Lenses
cdEnterpriseId :: Lens' CollectionviewersDelete Text Source #
The ID of the enterprise.
cdCollectionId :: Lens' CollectionviewersDelete Text Source #
The ID of the collection.