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

# staffUpdate Mutation

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
staffUpdate(
  id: ID!
  input: StaffUpdateInput!
): StaffUpdate
```

Details

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

<a id="arguments"></a>

### Arguments

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

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

ID of a staff user to update.

<a id="input"></a>

#### [`input`](#input) ● [`StaffUpdateInput!`](/api-reference/users/inputs/staff-update-input.md)

Fields required to update a staff user.

<a id="type"></a>

### Type

<a id="staffupdate"></a>

#### [`StaffUpdate`](/api-reference/users/objects/staff-update.md)

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.
