Issue on API membership POST request

I created an account "sysad" and map this account under administrator profile.
I logged in then try to add a new user to a new membership group/role and it was successful.

But when i used and log "sysad" via api and then perform post request for identity/membership for a particular user, i received an error 401 error. But when i use "install" account, it was successful.

Is this a bug issue?

Hi chris_dev,

Just a question: are you passing the X-Bonita-API-Token as a HTTP header? It is required for a POST and if not it might be the reason of the 401: https://api-documentation.bonitasoft.com/latest/#tag/PortalAuthentication/operation/login

hope this helps,

Thalia