Mutation
mutation TagUpdate($input: TagUpdateInput!) {
tagUpdate(input: $input) {
errors {
code
message
}
tag {
createdAt
id
key
origin
updatedAt
value
}
}
}Variables
{
"input": {
"id": "value",
"key": "string"
}
}Response
{
"data": {
"tagUpdate": {
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
],
"tag": {
"createdAt": "value",
"id": "value",
"key": "string",
"origin": "CATALOG_REFRESH",
"updatedAt": "value",
"value": "string"
}
}
}
}Mutations
tagUpdate
Update a tag. Requires TAGS_WRITE permissions.
MUTATION
tagUpdate(input: TagUpdateInput!): TagUpdateResult!Arguments
input
required
Returns
errors
[ApiError!]!
tag
The tag updated after a successful request.
Mutation
mutation TagUpdate($input: TagUpdateInput!) {
tagUpdate(input: $input) {
errors {
code
message
}
tag {
createdAt
id
key
origin
updatedAt
value
}
}
}Variables
{
"input": {
"id": "value",
"key": "string"
}
}Response
{
"data": {
"tagUpdate": {
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
],
"tag": {
"createdAt": "value",
"id": "value",
"key": "string",
"origin": "CATALOG_REFRESH",
"updatedAt": "value",
"value": "string"
}
}
}
}