Required. The name of the session to delete all contexts from. Supported formats: - projects/<Project ID>/agent/sessions/<Session ID>,
-projects//locations//agent/sessions/,
-projects//agent/environments//users//sessions/,
-projects//locations//agent/environments//users//sessions/`,
If Location ID is not specified we assume default 'us' location. 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 webpage details how to delete all active contexts within a specified session using a DELETE HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires a \u003ccode\u003eparent\u003c/code\u003e path parameter, which represents the session name from which to delete all contexts, with specific formatting guidelines.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for deleting contexts must be empty, and the successful response is an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorizing the context deletion requires specific IAM permissions, specifically \u003ccode\u003edialogflow.contexts.deleteAll\u003c/code\u003e on the specified \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eOne of two specified OAuth scopes is required for authorization: \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]