You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Zhao Wei ZW Shen <sh...@cn.ibm.com> on 2016/01/05 10:10:04 UTC
How to delete/update the Configuration type resource
Hi Experts,
I can create and view the Configuration resource with Rest smoothly (POST
and GET).
But I found I cannot update/delete the Configuration that I created with
Rest.
Someone can coach me for this? It is appreciated.
e.g.
I can create the following Configuration with the cmd. How can I delete
this one from Ambari Server.
curl -u admin:admin -H "X-Requested-By: ambari" -X POST -d '
{
"tag" : "myconf",
"type" : "v1",
"properties" : {
"shared_path" : "/aaa"
}
}
' http://szw1:8080/api/v1/clusters/zwshen/configurations
Regards,
Zhaowei Shen