quaint-lion-3364
11/14/2022, 6:44 PMmetadata_admin
using curl? I cannot get it to work.
curl -H 'Content-Type: application/json' -X PUT <http://127.0.0.1:4434/admin/identities/485de93a-543f-4e40-ae5d-6a99d7080234> -d '[
{
"op": "add",
"path": "/metadata_admin/Organizations/",
"value": "ACME"
}
]'
{"error":{"code":400,"status":"Bad Request","reason":"Unable to decode JSON payload: json: cannot unmarshal array into Go value of type identity.AdminUpdateIdentityBody","message":"The request was malformed or contained invalid parameters"}}