approverUpdate

Update an approver. The approverUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: security:write

For a complete list of input attributes see the ApproverAttributes type

mutation approverUpdate ($id: ID!, $attributes: ApproverAttributes!) {
  approverUpdate (id: $id, attributes: $attributes) {
      approver {
        id
        name
        userId
      }
      errors
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123",
  "attributes": {
    "name": "",
    "userId": "456123"
  }
}
Name Type Description
id ID  
attributes ApproverAttributes  

ResponseLink to Response section

Name Type Description
approver Approver  
errors List (String)