Ajit Kumar created AMBARI-16145:
-----------------------------------

             Summary: Add dryrun API for host delete 
                 Key: AMBARI-16145
                 URL: https://issues.apache.org/jira/browse/AMBARI-16145
             Project: Ambari
          Issue Type: Task
            Reporter: Ajit Kumar
            Assignee: Ajit Kumar


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.
{code}
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'
{code}

It should also support bulk delete format



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to