Required. The resource name of the Session to delete. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStoreId}/sessions/{sessionId}
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis endpoint allows the deletion of a specific Session resource using its unique identifier.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003eDELETE\u003c/code\u003e operation directed to a URL that includes the project, location, collection, data store, and session ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, and no data is sent in the body of the request.\u003c/p\u003e\n"],["\u003cp\u003eA successful deletion returns an empty JSON object, signaling that the session has been removed.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a session requires specific OAuth scope (\u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e) and the \u003ccode\u003ediscoveryengine.sessions.delete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,[]]