gogol-classroom-0.0.1: Google Classroom 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.Classroom.Invitations.Delete

Contents

Description

Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.

See: Google Classroom API Reference for classroom.invitations.delete.

Synopsis

REST Resource

type InvitationsDeleteResource = "v1" :> ("invitations" :> (Capture "id" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` Empty)))))))))) Source

A resource alias for classroom.invitations.delete method which the InvitationsDelete request conforms to.

Creating a Request

invitationsDelete Source

Arguments

:: Text

idId

-> InvitationsDelete 

Creates a value of InvitationsDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data InvitationsDelete Source

Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.

See: invitationsDelete smart constructor.

Request Lenses

idUploadProtocol :: Lens' InvitationsDelete (Maybe Text) Source

Upload protocol for media (e.g. "raw", "multipart").

idPp :: Lens' InvitationsDelete Bool Source

Pretty-print response.

idUploadType :: Lens' InvitationsDelete (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").

idId :: Lens' InvitationsDelete Text Source

Identifier of the invitation to delete.