# UpdateAuthorizedUserInput

Input for `updateAuthorizedUser`.

```
input UpdateAuthorizedUserInput {

  userEmail: String!

  accessLevel: AuthorizedUserAccessLevel

  roles: [String!]

  storeId: ID

  pointOfSaleId: ID

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`UpdateAuthorizedUserInput.userEmail`](#user-email) ● [`String!`](https://docs.monei.com/apis/graphql/types/scalars/string.md) non-null scalar[​](#user-email "Direct link to user-email")

Email of the user to update. Identifies the existing record.

#### [`UpdateAuthorizedUserInput.accessLevel`](#access-level) ● [`AuthorizedUserAccessLevel`](https://docs.monei.com/apis/graphql/types/enums/authorized-user-access-level.md) enum[​](#access-level "Direct link to access-level")

New permission level. `ADMIN_ACCESS` is rejected when `storeId` or `pointOfSaleId` is set. Sending only the level the current roles already contain keeps the roles; another level replaces them with the role of that level. Send `roles` to change the roles.

#### [`UpdateAuthorizedUserInput.roles`](#roles) ● [`[String!]`](https://docs.monei.com/apis/graphql/types/scalars/string.md) list scalar[​](#roles "Direct link to roles")

New roles, ids as in `AuthorizedUser.roles`. Must not be empty; unknown ids are rejected. Replaces the current roles. With `storeId` or `pointOfSaleId`, only `read_access`, `write_access` and `cashier_access` are allowed.

#### [`UpdateAuthorizedUserInput.storeId`](#store-id) ● [`ID`](https://docs.monei.com/apis/graphql/types/scalars/id.md) scalar[​](#store-id "Direct link to store-id")

Restrict the user to a single store. Pass `null` to clear.

#### [`UpdateAuthorizedUserInput.pointOfSaleId`](#point-of-sale-id) ● [`ID`](https://docs.monei.com/apis/graphql/types/scalars/id.md) scalar[​](#point-of-sale-id "Direct link to point-of-sale-id")

Restrict the user to a single point of sale. Pass `null` to clear.

### Member Of[​](#member-of "Direct link to Member Of")

[`updateAuthorizedUser`](https://docs.monei.com/apis/graphql/operations/mutations/update-authorized-user.md) mutation
