gogol-apps-reseller-0.0.1: Google Enterprise Apps Reseller SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Reseller.Subscriptions.Delete

Contents

Description

Cancels/Downgrades a subscription.

See: Enterprise Apps Reseller API Reference for reseller.subscriptions.delete.

Synopsis

REST Resource

type SubscriptionsDeleteResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> (QueryParam "deletionType" SubscriptionsDeleteDeletionType :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))))))) Source

A resource alias for reseller.subscriptions.delete method which the SubscriptionsDelete request conforms to.

Creating a Request

subscriptionsDelete Source

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:

Request Lenses

sdDeletionType :: Lens' SubscriptionsDelete SubscriptionsDeleteDeletionType Source

Whether the subscription is to be fully cancelled or downgraded

sdSubscriptionId :: Lens' SubscriptionsDelete Text Source

Id of the subscription, which is unique for a customer