Deletes the specified session.
A NOT_FOUND
error is returned if the session does not exist or is not owned by the user.
An empty response indicates successful deletion.
HTTP request
DELETE https://photospicker.googleapis.com/v1/sessions/{sessionId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
sessionId |
Required. The Google-generated identifier for the session to delete. |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/photospicker.mediaitems.readonly