Mutation
mutation DeleteThreadDiscussion($input: DeleteThreadDiscussionInput!) {
deleteThreadDiscussion(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadDiscussionId": "id"
}
}Response
{
"data": {
"deleteThreadDiscussion": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteThreadDiscussion
Permanently delete a discussion from Plain. Only Slack-channel discussions are currently supported. This removes the discussion record from Plain but does not delete the underlying Slack thread.
MUTATION
deleteThreadDiscussion(input: DeleteThreadDiscussionInput!): DeleteThreadDiscussionOutput!Arguments
input
required
Returns
error
Mutation
mutation DeleteThreadDiscussion($input: DeleteThreadDiscussionInput!) {
deleteThreadDiscussion(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadDiscussionId": "id"
}
}Response
{
"data": {
"deleteThreadDiscussion": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

