Mutation
mutation UnarchiveLabelType($input: UnarchiveLabelTypeInput!) {
unarchiveLabelType(input: $input) {
labelType {
id
name
icon
color
type
description
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"labelTypeId": "id"
}
}Response
{
"data": {
"unarchiveLabelType": {
"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
unarchiveLabelType
Restores an archived label type so it can be applied to threads again. Requires the labelType:edit permission.
MUTATION
unarchiveLabelType(input: UnarchiveLabelTypeInput!): UnarchiveLabelTypeOutput!Arguments
input
required
Returns
labelType
error
Mutation
mutation UnarchiveLabelType($input: UnarchiveLabelTypeInput!) {
unarchiveLabelType(input: $input) {
labelType {
id
name
icon
color
type
description
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"labelTypeId": "id"
}
}Response
{
"data": {
"unarchiveLabelType": {
"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?

