Required. The name of the message to delete. Format: projects/{project}/locations/{location}/instances/{instance}/users/{user}/conversations/{conversation}/messages/{message}
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-22 UTC."],[[["This page documents how to delete a message using the `DeleteMessage` function, which removes both user input and AI response."],["The HTTP request to delete a message is a `DELETE` request to a specified URL that includes the message's unique identifier."],["Deleting a message requires the `name` path parameter to specify the message, following the format: `projects/{project}/locations/{location}/instances/{instance}/users/{user}/conversations/{conversation}/messages/{message}`."],["The request body must be empty, and a successful deletion will result in an empty JSON object as the response."],["Deleting a message requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `chronicle.messages.delete`."]]],[]]