[Fleet] Change agent action APIs to PUT instead of POST #136805
Labels
enhancement
New value added to drive a business result
Team:Fleet
Team label for Observability Data Collection Fleet team
Fleet Agent action APIs are not consistent.
Reassign uses PUT, the others use POST: https://petstore.swagger.io/?url=https://raw.githubusercontent.com/elastic/kibana/main/x-pack/plugins/fleet/common/openapi/bundled.json#/default/reassign-agent
Change the following APIs to PUT, and make the POST versions deprecated.
https://petstore.swagger.io/?url=https://raw.githubusercontent.com/elastic/kibana/main/x-pack/plugins/fleet/common/openapi/bundled.json#/default/unenroll-agent
https://petstore.swagger.io/?url=https://raw.githubusercontent.com/elastic/kibana/main/x-pack/plugins/fleet/common/openapi/bundled.json#/default/upgrade-agent
The text was updated successfully, but these errors were encountered: