Required. The name of the context to delete. Supported formats: - projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context
ID>, - projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>/contexts/<Context ID>, - projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>/contexts/<Context ID>, - projects/<Project ID>/locations/<Location
ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
ID>/contexts/<Context ID>,
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 name:
dialogflow.contexts.delete
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-01-15 UTC."],[[["This request deletes a specified context using a DELETE HTTP method at a given endpoint."],["The URL for the request requires a `name` parameter, specifying the context to be deleted and following a specific format with placeholders for Project ID, Session ID, Context ID, and optional Location, Environment, and User IDs."],["The request body for this operation must be empty, with no content provided in the request."],["A successful response to this request will result in an empty JSON object being returned."],["Authorization for this request requires specific IAM permissions (`dialogflow.contexts.delete`) and one of two OAuth scopes: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]