Skip to main content

deleteConversation

Requires an authenticated session.

Deletes a conversation. The caller must have access to it. Needs a signed-in user.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation DeleteConversation($id: String!) {
deleteConversation(id: $id) {
message
success
}
}

Variables:

{
"id": "string"
}

Response:

{
"data": {
"deleteConversation": {
"message": "string",
"success": true
}
}
}
deleteConversation(
id: String!
): DeleteResponse!

Arguments​

deleteConversation.id ● String! non-null scalar​

The ID of the conversation.

Type​

DeleteResponse object​

The result of a mutation that deletes a record and has nothing left to return.