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 |
Removes a HeldAccount from a hold. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.
See: G Suite Vault API Reference for vault.matters.holds.accounts.delete
.
Synopsis
- type MattersHoldsAccountsDeleteResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (Capture "holdId" Text :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))))))
- mattersHoldsAccountsDelete :: Text -> Text -> Text -> MattersHoldsAccountsDelete
- data MattersHoldsAccountsDelete
- mhadXgafv :: Lens' MattersHoldsAccountsDelete (Maybe Xgafv)
- mhadUploadProtocol :: Lens' MattersHoldsAccountsDelete (Maybe Text)
- mhadHoldId :: Lens' MattersHoldsAccountsDelete Text
- mhadAccessToken :: Lens' MattersHoldsAccountsDelete (Maybe Text)
- mhadUploadType :: Lens' MattersHoldsAccountsDelete (Maybe Text)
- mhadMatterId :: Lens' MattersHoldsAccountsDelete Text
- mhadAccountId :: Lens' MattersHoldsAccountsDelete Text
- mhadCallback :: Lens' MattersHoldsAccountsDelete (Maybe Text)
REST Resource
type MattersHoldsAccountsDeleteResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (Capture "holdId" Text :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))))))) Source #
A resource alias for vault.matters.holds.accounts.delete
method which the
MattersHoldsAccountsDelete
request conforms to.
Creating a Request
mattersHoldsAccountsDelete Source #
Creates a value of MattersHoldsAccountsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersHoldsAccountsDelete Source #
Removes a HeldAccount from a hold. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.
See: mattersHoldsAccountsDelete
smart constructor.
Instances
Request Lenses
mhadUploadProtocol :: Lens' MattersHoldsAccountsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mhadHoldId :: Lens' MattersHoldsAccountsDelete Text Source #
The hold ID.
mhadAccessToken :: Lens' MattersHoldsAccountsDelete (Maybe Text) Source #
OAuth access token.
mhadUploadType :: Lens' MattersHoldsAccountsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mhadMatterId :: Lens' MattersHoldsAccountsDelete Text Source #
The matter ID.
mhadAccountId :: Lens' MattersHoldsAccountsDelete Text Source #
The ID of the account to remove from the hold.
mhadCallback :: Lens' MattersHoldsAccountsDelete (Maybe Text) Source #
JSONP