Update user roles in organization
Update the roles assigned to a user in a specific organization. Requires ORGANIZATION_SETTINGS_ASSIGN_ROLE_TO_USER permission.
Path parameters
organizationId
Organization 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 in the organization
Response
User organization roles updated successfully
success
Whether the operation was successful
message
Optional message providing more details about the operation