acl.json
{
"datacenter":"dc1",
"acl": {
"enabled": true,
"default_policy": "deny",
"down_policy": "extend-cache",
"tokens": {
"master": "91d4fd76-dc33-48c1-9d1c-e9060992e6dc"
}
}
}
curl --request PUT --header "X-Consul-Token: 91d4fd76-dc33-48c1-9d1c-e9060992e6dc" http://xxx.xxx.xxx.xxx:8500/v1/agent/service/deregister/CONSOLE500150020 标签:91d4fd76,xxx,ACL,TOKEN,e9060992e6dc,policy,注销 From: https://www.cnblogs.com/zhangdapangzo/p/17211651.html