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 hold by ID. This will release any HeldAccounts on this Hold.
See: G Suite Vault API Reference for vault.matters.holds.delete
.
Synopsis
- type MattersHoldsDeleteResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (Capture "holdId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))))
- mattersHoldsDelete :: Text -> Text -> MattersHoldsDelete
- data MattersHoldsDelete
- mhdXgafv :: Lens' MattersHoldsDelete (Maybe Xgafv)
- mhdUploadProtocol :: Lens' MattersHoldsDelete (Maybe Text)
- mhdHoldId :: Lens' MattersHoldsDelete Text
- mhdAccessToken :: Lens' MattersHoldsDelete (Maybe Text)
- mhdUploadType :: Lens' MattersHoldsDelete (Maybe Text)
- mhdMatterId :: Lens' MattersHoldsDelete Text
- mhdCallback :: Lens' MattersHoldsDelete (Maybe Text)
REST Resource
type MattersHoldsDeleteResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (Capture "holdId" 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.delete
method which the
MattersHoldsDelete
request conforms to.
Creating a Request
Creates a value of MattersHoldsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersHoldsDelete Source #
Removes a hold by ID. This will release any HeldAccounts on this Hold.
See: mattersHoldsDelete
smart constructor.
Instances
Request Lenses
mhdUploadProtocol :: Lens' MattersHoldsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mhdAccessToken :: Lens' MattersHoldsDelete (Maybe Text) Source #
OAuth access token.
mhdUploadType :: Lens' MattersHoldsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mhdMatterId :: Lens' MattersHoldsDelete Text Source #
The matter ID.
mhdCallback :: Lens' MattersHoldsDelete (Maybe Text) Source #
JSONP