viewUpdate

Graphql fields and variables for the viewUpdate mutation

Update a view

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
        sortBy
        sortOrder
        userId
      }
  }
}

Arguments

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

id

ID

attributes

Response

Name
Type
Description

errors

List (String)

view

Last updated

Was this helpful?