mirror of https://github.com/status-im/consul.git
Add partition field for catalog deregister docs (#21788)
* Add partition field for catalog deregister docs * Update website/content/api-docs/catalog.mdx Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com> --------- Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
This commit is contained in:
parent
718bf7496f
commit
a689893991
|
@ -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;
|
||||
if namespaces are specified in multiple places, they must all be the same.
|
||||
|
||||
- `Partition` `(string: "")` <EnterpriseAlert inline /> - Specifies the admin partition of the service and checks you deregister.
|
||||
|
||||
### Sample Payloads
|
||||
|
||||
```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
|
||||
{
|
||||
"Datacenter": "dc1",
|
||||
|
|
Loading…
Reference in New Issue