Issue:
I attempted to update an account attribute using the following URL:
https://dXXXX/v3/accounts/$accountId
Request Body:
[
{
“op”: “replace”,
“path”: “/attributes/Position”,
“value”: “IAM Specialist”
}
]
However, I received the following error response:
Invalid “path”: “/attributes/POSITION” of JSONPatch: {
“op”: “replace”,
“path”: “/attributes/XXXx”,
“value”: “IAM Specialist”
}
**Context:**
I need to update a specific attribute (e.g., "Position") during an **emergency termination** process.
Below is the accounts (https://xxxx.api.identitynow.com/v3/accounts/xxxx)
{
"authoritative": true,
"systemAccount": false,
"uncorrelated": false,
"features": "ENABLE, PROVISIONING",
"cloudLifecycleState": "active",
"identityState": "ACTIVE",
"connectionType": "direct",
"uuid": null,
"nativeIdentity": "10017656",
"description": null,
"disabled": false,
"locked": false,
"type": null,
"isMachine": false,
"recommendation": null,
"manuallyCorrelated": false,
"hasEntitlements": false,
"sourceId": "2a733168327549b390a10092d8c17306",
"sourceName": “xxx”,
"identityId": "0f2621799f444da98e8e79e568aac965",
"identity": {
"type": “xxx”,
"id": "0f2621799f444da98e8e79e568aac965",
"name": “xxx xx”
},
"sourceOwner": {
"type": “xxx”,
"id": "2d8cd41d0db245d58d0dd46a8cd2fcd5",
"name": “xxx”
},
"attributes": {
"LOCATION": “xxx",
"IIQDisabled": false,
"STATE": “xxx”,
"COST_CENTER": “xxxx”,
"CLASS": “xxxx”,
"IS_ACTIVE": "1",
"LAST_NAME": “xxx”,
"WORKER_NAME": “xxxx",
"FIRST_NAME": “xxxx”,
"POSITION": “xxx",
"COST_CENTER_HIERARCHY": “xxx,
"POSITION_ID": “xxx”,
"COUNTRY": "IND",
"POSTAL_CODE": “xxx”,
"IIQLocked": false,
"JOBCODE": "JC1041”
],
},
"origin": null,
"ownerIdentity": null,
"ownerGroup": null,
"id": "d7e1b54717b847dabc538a52a1f8eecf",
"name": “[email protected]",
"created": "2024-12-09T10:14:41.116Z",
"modified": "2025-04-28T09:20:07.062Z"
}