# approverUpdate

Update an approver

**Scope required:** security:write

For a complete list of input attributes see the [ApproverAttributes](https://docs.bunny.com/developer/api-reference/types/approverattributes) type

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

## Arguments

```json
{
  "id": "456123",
  "attributes": {
    "name": "",
    "userId": "456123"
  }
}
```

| Name       | Type                                                                                          | Description |
| ---------- | --------------------------------------------------------------------------------------------- | ----------- |
| id         | ID                                                                                            |             |
| attributes | [ApproverAttributes](https://docs.bunny.com/developer/api-reference/types/approverattributes) |             |

## Response

| Name     | Type                                                                      | Description |
| -------- | ------------------------------------------------------------------------- | ----------- |
| approver | [Approver](https://docs.bunny.com/developer/api-reference/types/approver) |             |
| errors   | List (String)                                                             |             |
