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 |
Remove organizational unit
See: Admin Directory API Reference for directory.orgunits.delete
.
Synopsis
- type OrgUnitsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("orgunits" :> (Captures "orgUnitPath" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- orgUnitsDelete :: [Text] -> Text -> OrgUnitsDelete
- data OrgUnitsDelete
- oudOrgUnitPath :: Lens' OrgUnitsDelete [Text]
- oudCustomerId :: Lens' OrgUnitsDelete Text
REST Resource
type OrgUnitsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("orgunits" :> (Captures "orgUnitPath" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for directory.orgunits.delete
method which the
OrgUnitsDelete
request conforms to.
Creating a Request
Creates a value of OrgUnitsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrgUnitsDelete Source #
Remove organizational unit
See: orgUnitsDelete
smart constructor.
Instances
Request Lenses
oudOrgUnitPath :: Lens' OrgUnitsDelete [Text] Source #
Full path of the organizational unit or its ID
oudCustomerId :: Lens' OrgUnitsDelete Text Source #
Immutable ID of the G Suite account