viewUpdate

Update a view. The viewUpdate 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 ViewAttributes type

mutation viewUpdate ($id: ID!, $attributes: ViewAttributes!) {
  viewUpdate (id: $id, attributes: $attributes) {
      errors
      view {
        columns
        conditions
        id
        isDefault
        name
        obj
        pinned
        sortBy
        sortOrder
        userId
      }
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123",
  "attributes": {
    "name": "",
    "obj": "",
    "conditions": "",
    "columns": "",
    "isDefault": true,
    "pinned": true,
    "sortBy": "",
    "sortOrder": ""
  }
}
Name Type Description
id ID  
attributes ViewAttributes  

ResponseLink to Response section

Name Type Description
errors List (String)  
view View