Mutation
mutation DeleteTier($input: DeleteTierInput!) {
deleteTier(input: $input) {
tier {
id
name
externalId
color
isDefault
defaultPriority
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"tierId": "id"
}
}Response
{
"data": {
"deleteTier": {
"tier": {
"id": "id",
"name": "string",
"externalId": "string",
"color": "string",
"isDefault": true,
"defaultPriority": 1
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteTier
Deletes a tier permanently. All tenant and company memberships in that tier are also removed. Requires the tier:delete permission.
MUTATION
deleteTier(input: DeleteTierInput!): DeleteTierOutput!Arguments
input
required
Returns
tier
error
Mutation
mutation DeleteTier($input: DeleteTierInput!) {
deleteTier(input: $input) {
tier {
id
name
externalId
color
isDefault
defaultPriority
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"tierId": "id"
}
}Response
{
"data": {
"deleteTier": {
"tier": {
"id": "id",
"name": "string",
"externalId": "string",
"color": "string",
"isDefault": true,
"defaultPriority": 1
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

