Update custom profile attribute on user account from OKTA API

I am encountering an error trying to update a custom profile attribute. The error is below:
Api validation failed: login(400,E0000001)
Trying via Postman

  1. Selected Put
    2./api/v1/users/{ID} (Got ID from GetUser API Call)
  2. Body:
    {
    “profile”:{
    “customattribute”: “TestData”
    }
    }

Hi @raghu.sivva

Can you please switch the request from PUT to POST in order to update the attribute? You can find this operation here.

Great point - my understanding is that PUT will REPLACE ALL PROFILE DATA with whatever is in the request. So POST is your friend for updating!

POST is working fine Thanks dragos and chu123