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