Method: messages.delete

Full name: projects.locations.instances.users.conversations.messages.delete

DeleteMessage is used to delete a message. Deleting a message deletes both the user input and AI response.

HTTP request


Path parameters



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 empty.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.messages.delete

For more information, see the IAM documentation.