- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
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
DELETE https://chronicle.googleapis.com/v1alpha/{name}
Path parameters
Parameters | |
---|---|
name |
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:
https://www.googleapis.com/auth/cloud-platform
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.