> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/users/llms.txt)
> Source: https://docs.saleor.io/api-reference/users/objects/staff-update

# StaffUpdate Object

Updates an existing staff user. Apps are not allowed to perform this mutation.

Requires the MANAGE\_STAFF permission.

Triggers the following webhook events:

-   STAFF\_UPDATED (async): A staff account was updated.

```graphql
type StaffUpdate {
  staffErrors: [StaffError!]! @deprecated
  errors: [StaffError!]!
  user: User
}
```

<a id="fields"></a>

### Fields

<a id="errors"></a>

#### [`errors`](#errors) ● [`[StaffError!]!`](/api-reference/users/objects/staff-error.md)

<a id="user"></a>

#### [`user`](#user) ● [`User`](/api-reference/users/objects/user.md)

Show deprecatedHide deprecated

<a id="staff-errors"></a>

#### [`staffErrors`](#staff-errors) ● [`[StaffError!]!`](/api-reference/users/objects/staff-error.md)

DEPRECATED

Use `errors` field instead.

<a id="returned-by"></a>

### Returned By

[`staffUpdate`](/api-reference/users/mutations/staff-update.md) mutation
