The Key gets updated, but the subsequent requests on the Key fails.
Eg: I’m getting a 400 error {“Status”:“Error”,“Message”:“Attempted access to non-owned key”,“Meta”:null} when i query the key.
GET /api/apis/e3f1bc6e448d474c6460466cb03b3138/keys/596680816b4baf0001780d52tr3
I updated it to 1.3.7. The issue still exist. When i add the acces_rights to the body of the PUT request, I get the 200 response, but the subsequent GET requests on the userkey fails.
So, after some trial and error, adding Org id to the request body, helped to fix the issue. Thanks for the pointer.
It appears that the PUT request is updating other fields as well that are not sent in the request. It fails my case where i am trying to update the api access only without changing other fields. But it changes other fields like password which is not desirable.