gogol-fitness-0.0.1: Google Fitness 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.Fitness.Users.Sessions.Delete

Contents

Description

Deletes a session specified by the given session ID.

See: Fitness Reference for fitness.users.sessions.delete.

Synopsis

REST Resource

type UsersSessionsDeleteResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("sessions" :> (Capture "sessionId" Text :> (QueryParam "currentTimeMillis" (Textual Int64) :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))))) Source

A resource alias for fitness.users.sessions.delete method which the UsersSessionsDelete request conforms to.

Creating a Request

usersSessionsDelete Source

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

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

Request Lenses

usdUserId :: Lens' UsersSessionsDelete Text Source

Delete a session for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.

usdCurrentTimeMillis :: Lens' UsersSessionsDelete (Maybe Int64) Source

The client's current time in milliseconds since epoch.

usdSessionId :: Lens' UsersSessionsDelete Text Source

The ID of the session to be deleted.