Method: projects.locations.conversations.delete

Deletes a conversation.

HTTP request

DELETE https://{endpoint}/v1alpha1/{name=projects/*/locations/*/conversations/*}

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the conversation to delete.

Query parameters

Parameters
force

boolean

If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

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:

  • contactcenterinsights.conversations.delete

For more information, see the IAM documentation.