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 an account as a matter collaborator.
See: G Suite Vault API Reference for vault.matters.removePermissions
.
Synopsis
- type MattersRemovePermissionsResource = "v1" :> ("matters" :> (CaptureMode "matterId" "removePermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RemoveMatterPermissionsRequest :> Post '[JSON] Empty)))))))))
- mattersRemovePermissions :: RemoveMatterPermissionsRequest -> Text -> MattersRemovePermissions
- data MattersRemovePermissions
- mrpXgafv :: Lens' MattersRemovePermissions (Maybe Xgafv)
- mrpUploadProtocol :: Lens' MattersRemovePermissions (Maybe Text)
- mrpAccessToken :: Lens' MattersRemovePermissions (Maybe Text)
- mrpUploadType :: Lens' MattersRemovePermissions (Maybe Text)
- mrpPayload :: Lens' MattersRemovePermissions RemoveMatterPermissionsRequest
- mrpMatterId :: Lens' MattersRemovePermissions Text
- mrpCallback :: Lens' MattersRemovePermissions (Maybe Text)
REST Resource
type MattersRemovePermissionsResource = "v1" :> ("matters" :> (CaptureMode "matterId" "removePermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RemoveMatterPermissionsRequest :> Post '[JSON] Empty))))))))) Source #
A resource alias for vault.matters.removePermissions
method which the
MattersRemovePermissions
request conforms to.
Creating a Request
mattersRemovePermissions Source #
Creates a value of MattersRemovePermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersRemovePermissions Source #
Removes an account as a matter collaborator.
See: mattersRemovePermissions
smart constructor.
Instances
Request Lenses
mrpUploadProtocol :: Lens' MattersRemovePermissions (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mrpAccessToken :: Lens' MattersRemovePermissions (Maybe Text) Source #
OAuth access token.
mrpUploadType :: Lens' MattersRemovePermissions (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mrpPayload :: Lens' MattersRemovePermissions RemoveMatterPermissionsRequest Source #
Multipart request metadata.
mrpMatterId :: Lens' MattersRemovePermissions Text Source #
The matter ID.
mrpCallback :: Lens' MattersRemovePermissions (Maybe Text) Source #
JSONP