Users.sessions: delete

Requires authorization

Deletes a session specified by the given session ID.

Request

HTTP request

DELETE https://www.googleapis.com/fitness/v1/users/userId/sessions/sessionId

Parameters

Parameter name Value Description
Path parameters
sessionId string The ID of the session to be deleted.
userId string Delete a session for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.
Optional query parameters
currentTimeMillis long The client's current time in milliseconds since epoch.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/fitness.activity.write

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Send feedback about...