mirror of https://github.com/hashicorp/consul
Add partition field for catalog deregister docs
parent
39104a3ce1
commit
a0b29b0eed
|
@ -212,6 +212,8 @@ The behavior of the endpoint depends on what keys are provided.
|
||||||
You can also specify the namespace in the `Service` or `Check` fields;
|
You can also specify the namespace in the `Service` or `Check` fields;
|
||||||
if namespaces are specified in multiple places, they must all be the same.
|
if namespaces are specified in multiple places, they must all be the same.
|
||||||
|
|
||||||
|
- `Partition` `(string: "")` <EnterpriseAlert inline /> - Specifies the partition of the service and checks you deregister.
|
||||||
|
|
||||||
### Sample Payloads
|
### Sample Payloads
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
@ -221,6 +223,14 @@ The behavior of the endpoint depends on what keys are provided.
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"Datacenter": "dc1",
|
||||||
|
"Node": "t2.320",
|
||||||
|
"Partition": "part-1"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"Datacenter": "dc1",
|
"Datacenter": "dc1",
|
||||||
|
|
Loading…
Reference in New Issue