Hello,
I am using Insomnia (Similar to Postman) to update the account attribute value of an account. The api used is “Update Account v2024”
I would like to update the roles value of the account attribute for the user:
Body of the request:
[{
"attributes": {
"roles": "DWH_DEVELOPER"
}
}]
request URL:https://{{tenant}}.api.identitynow.com/v2024/accounts/:accountid
Headers:
Accept: application/json
Content-Type: application/json-patch+json
Json payload Error recieved:
{
"detailCode": "400.0 Bad request syntax",
"trackingId": "69163de5347745cb88a0199f042f9d9e",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request could not be parsed."
},
{
"locale": "und",
"localeOrigin": "REQUEST",
"text": "The request could not be parsed."
}
],
"causes": []
}
Can you please tell me what is missing here? The get account getails api is working fine but the patch update account is giving error


