update-access-model-metadata-by-ids | SailPoint Developer Community
When trying to use the ID based API to perform metadata updates to both entitlements and roles, I’m having success with entitlement updates, but attempts to use the API to update roles is failing.
If I pass an ID of an existing role to the API under the entitlements list, the API returns a successful status, but the role is not updated with the correct metadata.
I’ve tried changing the body to “roles” and “role” instead of “entitlements”, but when doing so, I receive an error that says: “Required field
“Entitlements” was missing or empty.”
I’d recommend either adding new types to the body like “roles” (and hopefully “profiles” soon) - or possibly just changing the section to “ids” as the API seems to allow input by ID and all of the access model data types share this property.