From a0b29b0eed07c2ec4d26bde4763ab9eaf61da020 Mon Sep 17 00:00:00 2001 From: jm96441n Date: Fri, 27 Sep 2024 12:32:44 -0400 Subject: [PATCH 1/2] Add partition field for catalog deregister docs --- website/content/api-docs/catalog.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/website/content/api-docs/catalog.mdx b/website/content/api-docs/catalog.mdx index 8c549b304376..f169ac47205b 100644 --- a/website/content/api-docs/catalog.mdx +++ b/website/content/api-docs/catalog.mdx @@ -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: "")` - Specifies the 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", From 64cf21e0d1de52df797e4cf3bd7e3730758ed642 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Fri, 27 Sep 2024 13:12:03 -0400 Subject: [PATCH 2/2] Update website/content/api-docs/catalog.mdx Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com> --- website/content/api-docs/catalog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/api-docs/catalog.mdx b/website/content/api-docs/catalog.mdx index f169ac47205b..f773353483a2 100644 --- a/website/content/api-docs/catalog.mdx +++ b/website/content/api-docs/catalog.mdx @@ -212,7 +212,7 @@ 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: "")` - Specifies the partition of the service and checks you deregister. +- `Partition` `(string: "")` - Specifies the admin partition of the service and checks you deregister. ### Sample Payloads