Remove identity from role by ID via beta Patch Role API endpoint

Sure @iamnithesh @chris_olive,

Here you go:

\"[map[\"aliasName\":\"<alias_name>\" \"id\":\"<identity_id>\" \"name\":\"<identity_name>\" \"type\":\"IDENTITY\"] 
map[\"aliasName\":\"<alias_name>\" \"id\":\"<identity_id>\" \"name\":\"<identity_name>\" \"type\":\"IDENTITY\"] 
map[\"aliasName\":\"<alias_name>\" \"id\":\"<identity_id>\" \"name\":\"<identity_name>\" \"type\":\"IDENTITY\"] 
map[\"aliasName\":\"<alias_name>\" \"id\":\"<identity_id>\" \"name\":\"<identity_name>\" \"type\":\"IDENTITY\"]]\"

I replaced the actual values with <identity_name>, <identity_id>, and <alias_name> since they are actual users in my organization. Otherwise, I copied this directly from the results of the HTTP action to make the remove PATCH call (that failed). As you can see it is returning the values with the keyword map[]. I found this post about this as I shared above which says that arrays and objects are not supported as they “are serialized as Goland maps/arrays”.

On the bright side this is the correct list of identities which does not include the one I want to remove, so it just comes down to this formatting issue before it is working.

Thanks for the assistance!

1 Like