Deleting Settings

1
DELETE /settings/{param}

Deletes a setting.

Request example:

1
2
# curl -s -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<controller_hostname>/api/v1/settings/instance.action.reinstall

Response example:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
  "value": "1",
  "created_at": "2020-12-18T08:17:56.000000",
  "applies_to": {
    "instance_type": "all",
    "module_type": "all"
  },
  "param": "instance.action.repair",
  "updated_at": null
}