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 |
Deletes a role.
See: Admin Directory API Reference for directory.roles.delete
.
Synopsis
- type RolesDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> (Capture "roleId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- rolesDelete :: Text -> Text -> RolesDelete
- data RolesDelete
- rdRoleId :: Lens' RolesDelete Text
- rdCustomer :: Lens' RolesDelete Text
REST Resource
type RolesDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> (Capture "roleId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for directory.roles.delete
method which the
RolesDelete
request conforms to.
Creating a Request
Creates a value of RolesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RolesDelete Source #
Deletes a role.
See: rolesDelete
smart constructor.
Instances
Request Lenses
rdCustomer :: Lens' RolesDelete Text Source #
Immutable ID of the G Suite account.