# UpdateAuthorizedUserInput

Input for `updateAuthorizedUser`.

```
input UpdateAuthorizedUserInput {

  userEmail: String!

  accessLevel: AuthorizedUserAccessLevel

  roles: [String!]

  storeId: ID

  pointOfSaleId: ID

}
```

### Fields[​](#fields "Enlace directo al Fields")

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

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

#### [`UpdateAuthorizedUserInput.accessLevel`](#access-level) ● [`AuthorizedUserAccessLevel`](https://docs.monei.com/es/apis/graphql/types/enums/authorized-user-access-level.md) enum[​](#access-level "Enlace directo al 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. When sent with `roles`, it must equal the level the roles contain. Send `roles` to change the roles.

#### [`UpdateAuthorizedUserInput.roles`](#roles) ● [`[String!]`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) list scalar[​](#roles "Enlace directo al 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/es/apis/graphql/types/scalars/id.md) scalar[​](#store-id "Enlace directo al store-id")

ID of a store of the current account. Restricts the user to that store. Pass `null` to clear. Omit to keep.

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

ID of a point of sale of the current account. Restricts the user to that point of sale. Pass `null` to clear. Omit to keep.

### Member Of[​](#member-of "Enlace directo al Member Of")

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