Update user roles in merchant
Update the roles assigned to a user in a specific merchant. Requires MERCHANT_SETTINGS_ASSIGN_ROLE_TO_USER permission.
Path parameters
organizationId
Organization identifier
merchantId
Merchant identifier
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
userId
User ID
rolesIds
Array of role IDs to assign to the user
Response
User roles updated successfully
success
Whether the operation was successful
message
Optional message providing more details about the operation