How to change account attribute of source delimited file using Patch Request?

I Have a trouble during Patch Request for change a account attribute… The Source is delimited file, and when i will send the request returned this error:

Invalid “path”: “/attributes/endDate” of JSONPatch: {
“op”: “replace”,
“path”: “/attributes/endDate”,
“value”: “2026-12-12T00:00:00Z”
}

The payload that i have used is:
[{
“op”: “replace”,
“path”: “/attributes/endDate”,
“value”: “2026-12-12T00:00:00Z”
}]

endpoint: https://careplus-sb.api.identitynow.com/v2025/accounts/:id

Can you check if you are passing “Content-Type” : application/json-patch+json in your header and try again. Other wise I do not see any problem with the payload. It is working fine for me

Hi @rnakata

I have tried as shown below, it is working fine, I assume you have bad data in your JSON.

Note: try to use notepad++ for JSON , which will avoid the unknown characters or data.

Headers:

Params:

Use Case#1

[
  {
    "op": "add",
    "path": "/attributes/endDate",
    "value": "2026-12-12T00:00:00Z"
  }
]

Use Case#2

[
  {
    "op": "replace",
    "path": "/attributes/endDate",
    "value": "2030-11-12T00:00:00Z"
  }
]

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