Description
Implement HTTP REST API endpoint for deleting a machine registration. This allows administrators to remove machines from the inventory when they are decommissioned or no longer managed.
Acceptance Criteria
Related Issues
Part of Machine Service implementation
Related to API documentation in docs/content/r&d/services/machine-mgmt/delete-machine.md
Description
Implement HTTP REST API endpoint for deleting a machine registration. This allows administrators to remove machines from the inventory when they are decommissioned or no longer managed.
Acceptance Criteria
services/machine/endpoint/delete_machine.goDELETE /api/v1/machines/{id}RequestBody()method defining OpenAPI request schemaResponses()method defining OpenAPI response schemasServeHTTP()method implementing HTTP handler logicmachines/{id}collectiondeleted_machinescollection)application/problem+jsontype,title,status,detail,instancefieldsmachine_idfieldRelated Issues
Part of Machine Service implementation
Related to API documentation in
docs/content/r&d/services/machine-mgmt/delete-machine.md