Copyright | (c) 2015 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 subscription.
See: YouTube Data API Reference for youtube.subscriptions.delete
.
- type SubscriptionsDeleteResource = "youtube" :> ("v3" :> ("subscriptions" :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))
- subscriptionsDelete :: Text -> SubscriptionsDelete
- data SubscriptionsDelete
- sdId :: Lens' SubscriptionsDelete Text
REST Resource
type SubscriptionsDeleteResource = "youtube" :> ("v3" :> ("subscriptions" :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))) Source
A resource alias for youtube.subscriptions.delete
method which the
SubscriptionsDelete
request conforms to.
Creating a Request
Creates a value of SubscriptionsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubscriptionsDelete Source
Deletes a subscription.
See: subscriptionsDelete
smart constructor.
Request Lenses
sdId :: Lens' SubscriptionsDelete Text Source
The id parameter specifies the YouTube subscription ID for the resource that is being deleted. In a subscription resource, the id property specifies the YouTube subscription ID.