Mutation
mutation ArchiveLabelType($input: ArchiveLabelTypeInput!) {
archiveLabelType(input: $input) {
labelType {
id
name
icon
color
type
description
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"labelTypeId": "id"
}
}Response
{
"data": {
"archiveLabelType": {
"labelType": {
"id": "id",
"name": "string",
"icon": "string",
"color": "string",
"type": "DEFAULT",
"description": "string"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
archiveLabelType
Archives a label type so it can no longer be applied to threads, while preserving it on threads that already have it. To apply an archived label type again, unarchive it first. Requires the labelType:edit permission.
MUTATION
archiveLabelType(input: ArchiveLabelTypeInput!): ArchiveLabelTypeOutput!Arguments
input
required
Returns
labelType
error
Mutation
mutation ArchiveLabelType($input: ArchiveLabelTypeInput!) {
archiveLabelType(input: $input) {
labelType {
id
name
icon
color
type
description
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"labelTypeId": "id"
}
}Response
{
"data": {
"archiveLabelType": {
"labelType": {
"id": "id",
"name": "string",
"icon": "string",
"color": "string",
"type": "DEFAULT",
"description": "string"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

