While running the HTTP POST call of removing the user from governance group i m getting following error, I am passing the JSON body as per the API Documentation and its working for postman, but not in the
RemoveUser.json (5.3 KB)
workflow
Hi @SnehaPamali
I see the loopInput is $.hTTPRequest3.body[0:250]
I should be $.hTTPRequest3.body
Thanks
Sid
HI @SnehaPamali ,
Could you please check if you are able to get values for “id” and “name”? You can print over mail them using “send email”. I suspect the values are not getting parsed causing bad request error.
Not sure what is your use case , but i would say explore the option of identity governance connector ( loopback connector) . it will give lots of flexibility in managing governance group and userlevel
Issue got resolved
JSON body
[
[
{
“id”: “{{$.loop.context.id}}”,
“name”: “{{$.loop.context.attributes.displayName}}”,
“type”: “IDENTITY”
}
]
]


