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 sitemap from this site.
See: Search Console API Reference for webmasters.sitemaps.delete
.
Synopsis
- type SitemapsDeleteResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- sitemapsDelete :: Text -> Text -> SitemapsDelete
- data SitemapsDelete
- sdFeedpath :: Lens' SitemapsDelete Text
- sdSiteURL :: Lens' SitemapsDelete Text
REST Resource
type SitemapsDeleteResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for webmasters.sitemaps.delete
method which the
SitemapsDelete
request conforms to.
Creating a Request
Creates a value of SitemapsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitemapsDelete Source #
Deletes a sitemap from this site.
See: sitemapsDelete
smart constructor.
Instances
Request Lenses
sdFeedpath :: Lens' SitemapsDelete Text Source #
The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml