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

# userAvatarUpdate Mutation

Create a user avatar. Only for staff members. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: [https://github.com/jaydenseric/graphql-multipart-request-spec](https://github.com/jaydenseric/graphql-multipart-request-spec)

Requires the AUTHENTICATED\_STAFF\_USER permission.

```graphql
userAvatarUpdate(
  image: Upload!
): UserAvatarUpdate
```

Details

```graphql
type UserAvatarUpdate {
  user: User
  accountErrors: [AccountError!]! @deprecated
  errors: [AccountError!]!
}
```

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

### Arguments

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

#### [`image`](#image) ● [`Upload!`](/api-reference/miscellaneous/scalars/upload.md)

Represents an image file in a multipart request.

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

### Type

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

#### [`UserAvatarUpdate`](/api-reference/users/objects/user-avatar-update.md)

Create a user avatar. Only for staff members. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: [https://github.com/jaydenseric/graphql-multipart-request-spec](https://github.com/jaydenseric/graphql-multipart-request-spec)

Requires the AUTHENTICATED\_STAFF\_USER permission.
