Manipulating Access Model MetaData from API

Hello dev community!

I’m trying to bulk add/update metadata attributes on a group of roles. I found the API/powershell sdk command, but I’m having trouble crafting the json patch.

Does anyone have an example of the json patch for adding/updating a metadata attribute?

Thanks,

Dave

It looks like when updating metadata for roles it is a POST and not a PATCH.

I would look at this end point for updating metadata. It looks like the body of the POST is straight forward. Are you also able to share what you have so far with you payload? If so please remember to redact any sensitive information before posting.

https://sailpoint.api.identitynow.com/v2025/roles/access-model-metadata/bulk-update/ids

1 Like

Thanks! just what I was looking for. The role patch API said it supported accessModelMetadata, so I was using the wrong API.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.