Issue REST API PUT "/rest/config/folders/*id*" - error : folder has empty ID

i send the following REST API: curl -X PUT -d '{ "label": "TEST" }' -H "X-API-Key: MyAPIKey" http://localhost:8384/rest/config/folders/default

and get the following error message: folder has empty ID

My Folder configuration is:

curl -X GET -H "X-API-Key: MyAPIKey" http://localhost:8384/rest/config/folders/default
{
  "id": "default",
  "label": "MODS",
.....
}

what am I doing wrong?

problem solved: curl -k -X PUT -d '{ “id”: "default", "label": "TEST" }' -H "X-API-Key: MyAPYKey" http://localhost:8384/rest/config/folders/default

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