English
1curl -X PUT https://api.koywe.com/api/v1/organizations/org_abc123/users \2 -H "Authorization: Bearer <token>" \3 -H "Content-Type: application/json" \4 -d '{5 "userId": "k3u_abc123",6 "rolesIds": [7 "k3r_user_org_inviter",8 "k3r_user_org_manager",9 "k3r_user_org_operator",10 "k3r_user_org_merchant_admin"11 ]12}'
1{2 "success": true,3 "message": "User organization roles updated successfully"4}
Bearer authentication of the form Bearer <token>, where token is your auth token.
Bearer <token>
Update the roles assigned to a user in a specific organization. Requires ORGANIZATION_SETTINGS_ASSIGN_ROLE_TO_USER permission.