Actions
Bug #34859
closeddon't expose "label" param in PUT /organizations/:id API
Difficulty:
trivial
Triaged:
Yes
Pull request:
Description
Ohai,
we don't allow changing the label of the API, yet it is present in the APIdoc for PUT /organizations/:id:
… "doc_url": "../apidoc/v2/organizations/update", "name": "update", "apis": [ { "api_url": "/katello/api/organizations/:id", "http_method": "PUT", "short_description": "Update organization", "deprecated": null } ], "formats": null, "full_description": "", "errors": [], "params": [ { … { "name": "organization", "full_name": "organization", "description": "", "required": true, "allow_nil": false, "allow_blank": false, "validator": "Hash", "expected_type": "hash", "metadata": null, "show": true, "validations": [], "params": [ { … { "name": "label", "full_name": "organization[label]", "description": "", "required": false, "allow_nil": true, "allow_blank": false, "validator": "String", "expected_type": "string", "metadata": null, "show": true, "validations": [] }, …
Actions