What problem are you observing?
I am unable to create a role (POST /v2024/roles) with accessModelMetadata being anything other than null.
What is the correct behavior?
SailPoint’s own role API documentation (create-role | SailPoint Developer Community) insists we should be able to create roles with metadata.
What product feature is this related to?
ISC create role api (POST /roles)
What are the steps to reproduce the issue?
Try to create a role with metadata. I’ve run GET roles to grab the exact role object, remove modified id, created id, role id, and changed the role name and tried to create that exact same object but get the following error message:
400 Bad Request
{
"messages": [
{
"localeOrigin": "DEFAULT",
"locale": "en-US",
"text": "Value of \"accessModelMetadata.attributes\" is empty or contains invalid data."
},
{
"localeOrigin": "REQUEST",
"locale": "en-US",
"text": "Value of \"accessModelMetadata.attributes\" is empty or contains invalid data."
}
],
"trackingId": "24e51596ce20492e8b781d187a73d332",
"detailCode": "400.1.3 Illegal value"
}