You can modify existing bucket parameters by posting the updated parameters used to create the bucket to the bucket's URI. Do not omit a parameter in your request since this is equivalent to not setting it in many cases. We recommend you do a request to get current bucket settings, make modifications as needed and then make your POST request to the bucket URI.
For example, to edit the bucket customer:
shell> curl -v -X POST -u Administrator:Password -d name=customer \ -d flushEnabled=0 -d replicaNumber=1 -d authType=none \ -d ramQuotaMB=200 -d proxyPort=11212 \ http://localhost:8091/pools/default/buckets/customer
Available parameters are identical to those available when creating a bucket. See bucket parameters.
If the request is successful, HTTP response 200 will be returned with an empty data content.
You cannot change the name of a bucket via the REST API.