Mutation
mutation UpdateProjectArea($id: ID!) {
updateProjectArea(id: $id) {
result {
id
label
slug
description
icon
active
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"updateProjectArea": {
"result": {
"id": "id",
"label": "string",
"slug": "string",
"description": "string",
"icon": "string",
"active": true
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
updateProjectArea
MUTATION
updateProjectArea(id: ID!, input: UpdateProjectAreaInput): UpdateProjectAreaResult!Arguments
id
ID!
required
Returns
result
The successful result of the mutation
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation UpdateProjectArea($id: ID!) {
updateProjectArea(id: $id) {
result {
id
label
slug
description
icon
active
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"updateProjectArea": {
"result": {
"id": "id",
"label": "string",
"slug": "string",
"description": "string",
"icon": "string",
"active": true
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}