ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhao Wei ZW Shen" <>
Subject How to delete/update the Configuration type resource
Date Tue, 05 Jan 2016 09:10:04 GMT

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

Someone can coach me for this? It is appreciated.

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

Zhaowei Shen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message