Required. The name of the session to delete all contexts from. Format: projects/<Project ID>/agent/sessions/<Session ID> or projects/<Project
ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
ID>. If Environment ID is not specified we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.
Authorization requires the following IAM permission on the specified resource parent:
dialogflow.contexts.deleteAll
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 API endpoint allows you to delete all active contexts within a specified session.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003eDELETE\u003c/code\u003e method with a specific URL format that includes placeholders for the service endpoint and session path.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required and defines the session from which contexts will be deleted, with options to include environment and user IDs.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, and a successful operation returns an empty JSON object in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires specific OAuth scopes related to the cloud platform or dialogflow.\u003c/p\u003e\n"]]],[],null,[]]