IdentityNow Source Partial Update v3 API Failling

Hi experts,

I was trying to update the source featureString attribute using v3 API, but it’s failing.

Payload:

{
    "op": "replace",
    "path": "/features",
    "value": [
        "PROVISIONING",
        "ENABLE"
    ]
}

Error:

{
    "detailCode": "400.1 Bad request content",
    "trackingId": "186d10af4473453e9c19b3b7bb2ad43e",
    "messages": [
        {
            "locale": "en-US",
            "localeOrigin": "DEFAULT",
            "text": "The request was syntactically correct but its content is semantically invalid."
        }
    ],
    "causes": []
}

Thanks,
Karthi

Hi @Karthikeyan_U,

The payload for a PATCH request must be an array of actions. Your payload is a single object. Try this:

Payload:

[
    {
        "op": "replace",
        "path": "/features",
        "value": [
            "PROVISIONING",
            "ENABLE"
        ]
    }
]

Thank you @colin_mckibben , it worked