Issue on API membership POST request

1
0
-1

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?

1 answer

1
0
-1

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/PortalAuthenticatio...

hope this helps,

Thalia

Notifications