Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.4.0
-
None
Description
Add dryrun API for host delete
API should be take dry_run directive and check if requested host can be deleted w/o deleting the host and should return error if any, like host is not in delete friendly state.
curl -i -X DELETE -u admin:admin -H 'X-Requested-By:ambari' 'http://localhost:8080/api/v1/clusters/c1/hosts?dry_run=true&Hosts/host_name=c6401.ambari.apache.org'
It should also support bulk delete format
Attachments
Attachments
Issue Links
- links to