Please note that the roles array must contain valid roles which are available for the organization.
To add or update roles for the organization , you can refer Update Roles and Permissions of organization endpoint.
Upon successful request, the user will be added to the specified organization and the response will be similar to the below:
Copy
{ "message": "User 281435913177801305 added to 281185056586736799 as reader, writer"}