Skip to main content

conversationUnassign

Unassigns a conversation from an agent, a team, or both.

For example:

mutation(
$agent: Boolean,
$conversationId: ID!,
$team: Boolean,
$skipNotifications: Boolean
) {
conversationUnassign(
input: {
agent: $agent,
conversationId: $conversationId,
team: $team,
skipNotifications: $skipNotifications
}
) {
changesetId
conversation {
... on Conversation {
id
assigned {
at
agent {
id
name
}
team {
id
name
}
}
}
}
diffs {
query
delta
}
errors {
path
message
}
}
}

To assign a conversation see conversationAssign.

conversationUnassign(
input: ConversationUnassignInput!
): ConversationUnassignPayload

Arguments

conversationUnassign.input ● ConversationUnassignInput! non-null input common

Parameters for ConversationUnassign

Type

ConversationUnassignPayload object common

Autogenerated return type of ConversationUnassign