# Update POS User **PUT /staff/v1/businessLocations/{businessLocationId}/userTypes/POS/{staffId}** ## Servers - Demo URL: https://api.trial.lsk.lightspeed.app (Demo URL) - Production URL: https://api.lsk.lightspeed.app (Production URL) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **businessLocationId** (integer(int64)) The unique identifier for the business location. - **staffId** (integer(int64)) The unique identifier for the user. ### Body: application/json (object) - **username** (string) The staff username. Only used for POS staff. - **pinCode** (string) The 4-digit pin code for the user. - **firstName** (string) The first name of the user. - **lastName** (string) The last name of the user. - **active** (boolean) Indicates if the user is active. - **visible** (boolean) Indicates if the user is visible. - **group** (integer(int64)) The unique identifier for the user group. - **reportAccess** (string) User report permissions. - **roles** (array[string]) The roles assigned to the user. ## Responses ### 201 User updated successfully #### Body: application/json (object) - **staffId** (integer(int64)) The unique identifier for the user. - **username** (string) The staff username. Only used for POS staff. - **userTypes** (array[string]) The user type. - **firstName** (string) The first name of the user. - **lastName** (string) The last name of the user. - **email** (string(email)) The email associated with the user. Only used for Back Office staff. - **active** (boolean) Indicates if the user is active. - **createdOn** (string(date-time)) The timestamp of the creation of the user. - **modifiedOn** (string(date-time)) The timestamp of the last update to the user. - **businessId** (integer(int64)) The unique identifier for the business. - **businessLocationId** (integer(int64)) The unique identifier for the business location. - **groups** (array[object]) - **reportAccess** (array[string]) User report permissions. - **roles** (array[object]) The roles assigned to the user. ### 400 Bad request. Invalid input parameters. ### 401 Authentication failed. ### 403 Access Denied. ### 500 Internal Server Error. [Powered by Bump.sh](https://bump.sh)