fieldUpdate
Update a field. The fieldUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
For a complete list of input attributes see the FieldAttributes type
mutation fieldUpdate ($id: ID!, $attributes: FieldAttributes!) {
fieldUpdate (id: $id, attributes: $attributes) {
errors
field {
computed
label
name
}
}
}
ArgumentsLink to Arguments section
{
"id": "456123",
"attributes": {
"id": "456123",
"objId": "456123",
"name": "",
"kind": "",
"description": "",
"label": "",
"required": true
}
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| attributes | FieldAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| field | Field |