| 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 |
Network.Google.Resource.Directory.Domains.Delete
Description
Deletes a domain of the customer.
See: Admin Directory API Reference for directory.domains.delete.
Synopsis
- type DomainsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domains" :> (Capture "domainName" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- domainsDelete :: Text -> Text -> DomainsDelete
- data DomainsDelete
- ddCustomer :: Lens' DomainsDelete Text
- ddDomainName :: Lens' DomainsDelete Text
REST Resource
type DomainsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domains" :> (Capture "domainName" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for directory.domains.delete method which the
DomainsDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DomainsDelete |
Creates a value of DomainsDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DomainsDelete Source #
Deletes a domain of the customer.
See: domainsDelete smart constructor.
Instances
Request Lenses
ddCustomer :: Lens' DomainsDelete Text Source #
Immutable ID of the G Suite account.
ddDomainName :: Lens' DomainsDelete Text Source #
Name of domain to be deleted