Mutation
mutation DeleteThreadFieldSchema($input: DeleteThreadFieldSchemaInput!) {
deleteThreadFieldSchema(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadFieldSchemaId": "id"
}
}Response
{
"data": {
"deleteThreadFieldSchema": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteThreadFieldSchema
Permanently deletes a thread field schema and removes all field values stored against it on every thread. This action cannot be undone. Requires the threadFieldSchema:delete permission.
MUTATION
deleteThreadFieldSchema(input: DeleteThreadFieldSchemaInput!): DeleteThreadFieldSchemaOutput!Arguments
input
required
Returns
error
Mutation
mutation DeleteThreadFieldSchema($input: DeleteThreadFieldSchemaInput!) {
deleteThreadFieldSchema(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"threadFieldSchemaId": "id"
}
}Response
{
"data": {
"deleteThreadFieldSchema": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

