Create a membership in user privileges from REST API

Hi there.
I want to create a membership on user privileges from REST API.
I already have created the users, groups and roles. And users are assigned their membership. But do not leave me as users so they can do homework.
As I can say that drives users given group or role membership have the user profile.
In the documentation I see no API call to create the user profile menu.

Bonita: 6.2
C# and API REST Bonita.

1 Like

Hello,
once you create your user, you can use the following request to assign it to the user profile:
POST on
http://yourserver:yourport/bonita/API/portal/profileMember/

with the following body:

{“profile_id”:“1”,“member_type”:“USER”,“user_id”:“23”}

where user_id will be the id of your newly created user.
Hope this helps,
Haris