diff --git a/website/content/api-docs/agent/index.mdx b/website/content/api-docs/agent/index.mdx
index d76cc19107..749ea80f29 100644
--- a/website/content/api-docs/agent/index.mdx
+++ b/website/content/api-docs/agent/index.mdx
@@ -261,6 +261,8 @@ The corresponding CLI command is [`consul members`](/consul/commands/members).
network segment). When querying a server, setting this to the special string `_all`
will show members in all segments.
+@include 'http-api-query-parms-partition.mdx'
+
### Sample Request
```shell-session
diff --git a/website/content/api-docs/peering.mdx b/website/content/api-docs/peering.mdx
index 7604cb6a19..f0e4d77677 100644
--- a/website/content/api-docs/peering.mdx
+++ b/website/content/api-docs/peering.mdx
@@ -34,8 +34,7 @@ The table below shows this endpoint's support for
and configuration entries such as `service-intentions`. This field must be a
valid DNS hostname label.
-- `Partition` `(string: "")` - The admin partition that the
- peering token is generated from. Uses `default` when not specified.
+@include 'http-api-body-options-partition.mdx'
- `ServerExternalAddresses` `([]string: )` - The addresses for the cluster that generates the peering token. Addresses take the form `{host or IP}:port`.
You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
@@ -100,9 +99,7 @@ The table below shows this endpoint's support for
and configuration entries such as `service-intentions`. This field must be a
valid DNS hostname label.
-- `Partition` `(string: "")` - The admin partition
- that peers to the cluster that generated the peering token. Uses `default`
- when not specified.
+@include 'http-api-body-options-partition.mdx'
- `PeeringToken` `(string: )` - The peering token fetched from the
peer cluster.
@@ -162,8 +159,7 @@ The table below shows this endpoint's support for
### Query Parameters
-- `partition` `(string: "")` - Specifies the partition of the peering
- to read. If not specified will default to `default`.
+@include 'http-api-query-parms-partition.mdx'
### Sample Request
@@ -235,8 +231,7 @@ The table below shows this endpoint's support for
### Query Parameters
-- `partition` `(string: "")` - Specifies the partition of the peerings
- to delete. If not specified will default to `default`.
+@include 'http-api-query-parms-partition.mdx'
### Sample Request
@@ -286,8 +281,7 @@ The table below shows this endpoint's support for
### Query Parameters
-- `partition` `(string: "")` - Specifies the partition of the peerings
- to list. If not specified will default to `default`.
+@include 'http-api-query-parms-partition.mdx'
### Sample Request
diff --git a/website/content/commands/acl/auth-method/create.mdx b/website/content/commands/acl/auth-method/create.mdx
index 7a7ef7ea70..4f1015cfb6 100644
--- a/website/content/commands/acl/auth-method/create.mdx
+++ b/website/content/commands/acl/auth-method/create.mdx
@@ -67,7 +67,7 @@ Usage: `consul acl auth-method create [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/auth-method/delete.mdx b/website/content/commands/acl/auth-method/delete.mdx
index fc2e166d36..acb095c587 100644
--- a/website/content/commands/acl/auth-method/delete.mdx
+++ b/website/content/commands/acl/auth-method/delete.mdx
@@ -31,7 +31,7 @@ Usage: `consul acl auth-method delete [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/auth-method/list.mdx b/website/content/commands/acl/auth-method/list.mdx
index c7d2c0b9c2..42d7285ca7 100644
--- a/website/content/commands/acl/auth-method/list.mdx
+++ b/website/content/commands/acl/auth-method/list.mdx
@@ -34,7 +34,7 @@ Usage: `consul acl auth-method list`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/auth-method/read.mdx b/website/content/commands/acl/auth-method/read.mdx
index 928863846d..015852f968 100644
--- a/website/content/commands/acl/auth-method/read.mdx
+++ b/website/content/commands/acl/auth-method/read.mdx
@@ -36,7 +36,7 @@ Usage: `consul acl auth-method read [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/auth-method/update.mdx b/website/content/commands/acl/auth-method/update.mdx
index aef12ff351..d328ea999c 100644
--- a/website/content/commands/acl/auth-method/update.mdx
+++ b/website/content/commands/acl/auth-method/update.mdx
@@ -72,7 +72,7 @@ Usage: `consul acl auth-method update [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/binding-rule/create.mdx b/website/content/commands/acl/binding-rule/create.mdx
index 38b2ffb57d..b32b2ce934 100644
--- a/website/content/commands/acl/binding-rule/create.mdx
+++ b/website/content/commands/acl/binding-rule/create.mdx
@@ -47,7 +47,7 @@ Usage: `consul acl binding-rule create [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/binding-rule/delete.mdx b/website/content/commands/acl/binding-rule/delete.mdx
index c78e360310..9164f62a7c 100644
--- a/website/content/commands/acl/binding-rule/delete.mdx
+++ b/website/content/commands/acl/binding-rule/delete.mdx
@@ -32,7 +32,7 @@ Usage: `consul acl binding-rule delete [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/binding-rule/list.mdx b/website/content/commands/acl/binding-rule/list.mdx
index 9d01e9d2b1..cbb9c184c8 100644
--- a/website/content/commands/acl/binding-rule/list.mdx
+++ b/website/content/commands/acl/binding-rule/list.mdx
@@ -34,7 +34,7 @@ Usage: `consul acl binding-rule list`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/binding-rule/read.mdx b/website/content/commands/acl/binding-rule/read.mdx
index 86b8b4169c..50f1e8112f 100644
--- a/website/content/commands/acl/binding-rule/read.mdx
+++ b/website/content/commands/acl/binding-rule/read.mdx
@@ -37,7 +37,7 @@ Usage: `consul acl binding-rule read [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/binding-rule/update.mdx b/website/content/commands/acl/binding-rule/update.mdx
index e33b7e026d..22ad67e0cf 100644
--- a/website/content/commands/acl/binding-rule/update.mdx
+++ b/website/content/commands/acl/binding-rule/update.mdx
@@ -54,7 +54,7 @@ Usage: `consul acl binding-rule update [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/policy/create.mdx b/website/content/commands/acl/policy/create.mdx
index cbd4b8d875..e178536515 100644
--- a/website/content/commands/acl/policy/create.mdx
+++ b/website/content/commands/acl/policy/create.mdx
@@ -49,7 +49,7 @@ Usage: `consul acl policy create [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/policy/delete.mdx b/website/content/commands/acl/policy/delete.mdx
index 074dfea607..2b611f5a78 100644
--- a/website/content/commands/acl/policy/delete.mdx
+++ b/website/content/commands/acl/policy/delete.mdx
@@ -34,7 +34,7 @@ Usage: `consul acl policy delete [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/policy/list.mdx b/website/content/commands/acl/policy/list.mdx
index 7d56fd6f21..ad3b114b97 100644
--- a/website/content/commands/acl/policy/list.mdx
+++ b/website/content/commands/acl/policy/list.mdx
@@ -34,7 +34,7 @@ Usage: `consul acl policy list`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/policy/read.mdx b/website/content/commands/acl/policy/read.mdx
index b84b5d3c34..28e2f51a79 100644
--- a/website/content/commands/acl/policy/read.mdx
+++ b/website/content/commands/acl/policy/read.mdx
@@ -39,7 +39,7 @@ Usage: `consul acl policy read [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/policy/update.mdx b/website/content/commands/acl/policy/update.mdx
index f64a1f7906..edc529a5da 100644
--- a/website/content/commands/acl/policy/update.mdx
+++ b/website/content/commands/acl/policy/update.mdx
@@ -58,7 +58,7 @@ Usage: `consul acl policy update [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/role/create.mdx b/website/content/commands/acl/role/create.mdx
index 44af92bd4e..82989a2697 100644
--- a/website/content/commands/acl/role/create.mdx
+++ b/website/content/commands/acl/role/create.mdx
@@ -52,7 +52,7 @@ Usage: `consul acl role create [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/role/delete.mdx b/website/content/commands/acl/role/delete.mdx
index bb2a179d92..9a39e97ab8 100644
--- a/website/content/commands/acl/role/delete.mdx
+++ b/website/content/commands/acl/role/delete.mdx
@@ -34,7 +34,7 @@ Usage: `consul acl role delete [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/role/list.mdx b/website/content/commands/acl/role/list.mdx
index ed3699ce3f..afd8c75a41 100644
--- a/website/content/commands/acl/role/list.mdx
+++ b/website/content/commands/acl/role/list.mdx
@@ -34,7 +34,7 @@ Usage: `consul acl role list`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/role/read.mdx b/website/content/commands/acl/role/read.mdx
index 7de17d5dcb..aa5008f57d 100644
--- a/website/content/commands/acl/role/read.mdx
+++ b/website/content/commands/acl/role/read.mdx
@@ -39,7 +39,7 @@ Usage: `consul acl role read [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/role/update.mdx b/website/content/commands/acl/role/update.mdx
index d6991a21e0..1308e445ba 100644
--- a/website/content/commands/acl/role/update.mdx
+++ b/website/content/commands/acl/role/update.mdx
@@ -63,7 +63,7 @@ Usage: `consul acl role update [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/templated-policy/preview.mdx b/website/content/commands/acl/templated-policy/preview.mdx
index 7e0c38d165..cfffa6db7e 100644
--- a/website/content/commands/acl/templated-policy/preview.mdx
+++ b/website/content/commands/acl/templated-policy/preview.mdx
@@ -36,7 +36,7 @@ Usage: `consul acl templated-policy preview [options] [args]`
### Enterprise options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/token/clone.mdx b/website/content/commands/acl/token/clone.mdx
index 7f2822d6c5..937097fb28 100644
--- a/website/content/commands/acl/token/clone.mdx
+++ b/website/content/commands/acl/token/clone.mdx
@@ -38,7 +38,7 @@ Usage: `consul acl token clone [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/token/create.mdx b/website/content/commands/acl/token/create.mdx
index f0622ace7e..8cd5fb6b94 100644
--- a/website/content/commands/acl/token/create.mdx
+++ b/website/content/commands/acl/token/create.mdx
@@ -66,7 +66,7 @@ Usage: `consul acl token create [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/token/delete.mdx b/website/content/commands/acl/token/delete.mdx
index 5ba6595758..13a3ca26e6 100644
--- a/website/content/commands/acl/token/delete.mdx
+++ b/website/content/commands/acl/token/delete.mdx
@@ -32,7 +32,7 @@ Usage: `consul acl token delete [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/token/list.mdx b/website/content/commands/acl/token/list.mdx
index 531b4cc68e..fd3b6c2151 100644
--- a/website/content/commands/acl/token/list.mdx
+++ b/website/content/commands/acl/token/list.mdx
@@ -34,7 +34,7 @@ Usage: `consul acl token list`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/token/read.mdx b/website/content/commands/acl/token/read.mdx
index e339292d96..dfcbea12d8 100644
--- a/website/content/commands/acl/token/read.mdx
+++ b/website/content/commands/acl/token/read.mdx
@@ -43,7 +43,7 @@ Usage: `consul acl token read [options] [args]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/acl/token/update.mdx b/website/content/commands/acl/token/update.mdx
index 1a1703cb14..1f89d82864 100644
--- a/website/content/commands/acl/token/update.mdx
+++ b/website/content/commands/acl/token/update.mdx
@@ -93,7 +93,7 @@ instead.
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/catalog/nodes.mdx b/website/content/commands/catalog/nodes.mdx
index f612627be2..6efa3ad071 100644
--- a/website/content/commands/catalog/nodes.mdx
+++ b/website/content/commands/catalog/nodes.mdx
@@ -85,7 +85,7 @@ Usage: `consul catalog nodes [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
#### API Options
diff --git a/website/content/commands/catalog/services.mdx b/website/content/commands/catalog/services.mdx
index 9d05ecbf47..a57adcb4a9 100644
--- a/website/content/commands/catalog/services.mdx
+++ b/website/content/commands/catalog/services.mdx
@@ -69,7 +69,7 @@ Usage: `consul catalog services [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/config/delete.mdx b/website/content/commands/config/delete.mdx
index 134d6885e6..085b0e34c4 100644
--- a/website/content/commands/config/delete.mdx
+++ b/website/content/commands/config/delete.mdx
@@ -61,7 +61,7 @@ config entry. This is used in combination with the -cas flag.
@include 'http_api_namespace_options.mdx'
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
#### API Options
diff --git a/website/content/commands/config/list.mdx b/website/content/commands/config/list.mdx
index e453b11943..5f55a7bcff 100644
--- a/website/content/commands/config/list.mdx
+++ b/website/content/commands/config/list.mdx
@@ -48,7 +48,7 @@ Usage: `consul config list [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/config/read.mdx b/website/content/commands/config/read.mdx
index 7a49482c5b..c54a60dfec 100644
--- a/website/content/commands/config/read.mdx
+++ b/website/content/commands/config/read.mdx
@@ -52,7 +52,7 @@ Usage: `consul config read [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/config/write.mdx b/website/content/commands/config/write.mdx
index bb98d8e498..f466654c61 100644
--- a/website/content/commands/config/write.mdx
+++ b/website/content/commands/config/write.mdx
@@ -53,7 +53,7 @@ Usage: `consul config write [options] FILE`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/connect/envoy.mdx b/website/content/commands/connect/envoy.mdx
index 744873df56..913adb981d 100644
--- a/website/content/commands/connect/envoy.mdx
+++ b/website/content/commands/connect/envoy.mdx
@@ -199,7 +199,7 @@ compatibility with Envoy and prevent potential issues. Default is `false`.
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/connect/redirect-traffic.mdx b/website/content/commands/connect/redirect-traffic.mdx
index af59baee56..d59fe7928c 100644
--- a/website/content/commands/connect/redirect-traffic.mdx
+++ b/website/content/commands/connect/redirect-traffic.mdx
@@ -60,7 +60,7 @@ Usage: `consul connect redirect-traffic [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/intention/check.mdx b/website/content/commands/intention/check.mdx
index fadc8d224b..23ae56ceae 100644
--- a/website/content/commands/intention/check.mdx
+++ b/website/content/commands/intention/check.mdx
@@ -41,7 +41,7 @@ Usage: `consul intention check [options] SRC DST`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/intention/create.mdx b/website/content/commands/intention/create.mdx
index 71c491b06a..bbaccc2be2 100644
--- a/website/content/commands/intention/create.mdx
+++ b/website/content/commands/intention/create.mdx
@@ -52,7 +52,7 @@ are not supported from commands, but may be from the corresponding HTTP endpoint
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/intention/delete.mdx b/website/content/commands/intention/delete.mdx
index ad2fca1c97..2cfb97a966 100644
--- a/website/content/commands/intention/delete.mdx
+++ b/website/content/commands/intention/delete.mdx
@@ -37,7 +37,7 @@ Usage:
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/intention/get.mdx b/website/content/commands/intention/get.mdx
index 84b3a86065..b3db133fd4 100644
--- a/website/content/commands/intention/get.mdx
+++ b/website/content/commands/intention/get.mdx
@@ -37,7 +37,7 @@ Usage:
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/intention/match.mdx b/website/content/commands/intention/match.mdx
index 4c727b1fc2..3d94939b38 100644
--- a/website/content/commands/intention/match.mdx
+++ b/website/content/commands/intention/match.mdx
@@ -40,7 +40,7 @@ Usage: `consul intention match [options] SRC_OR_DST`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/kv/delete.mdx b/website/content/commands/kv/delete.mdx
index 90e2e54624..17216b0ca7 100644
--- a/website/content/commands/kv/delete.mdx
+++ b/website/content/commands/kv/delete.mdx
@@ -40,7 +40,7 @@ Usage: `consul kv delete [options] KEY_OR_PREFIX`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/kv/export.mdx b/website/content/commands/kv/export.mdx
index da063e9d82..c05b2f80f8 100644
--- a/website/content/commands/kv/export.mdx
+++ b/website/content/commands/kv/export.mdx
@@ -28,7 +28,7 @@ Usage: `consul kv export [options] [PREFIX]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/kv/get.mdx b/website/content/commands/kv/get.mdx
index 0e83b2facb..6534fe3548 100644
--- a/website/content/commands/kv/get.mdx
+++ b/website/content/commands/kv/get.mdx
@@ -56,7 +56,7 @@ Usage: `consul kv get [options] [KEY_OR_PREFIX]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/kv/import.mdx b/website/content/commands/kv/import.mdx
index 574fdfbd87..a960b1b738 100644
--- a/website/content/commands/kv/import.mdx
+++ b/website/content/commands/kv/import.mdx
@@ -31,7 +31,7 @@ Usage: `consul kv import [options] [DATA]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/kv/put.mdx b/website/content/commands/kv/put.mdx
index efb045179f..dcde811fc0 100644
--- a/website/content/commands/kv/put.mdx
+++ b/website/content/commands/kv/put.mdx
@@ -59,7 +59,7 @@ Usage: `consul kv put [options] KEY [DATA]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/members.mdx b/website/content/commands/members.mdx
index ff1df561a6..6299f21e4c 100644
--- a/website/content/commands/members.mdx
+++ b/website/content/commands/members.mdx
@@ -56,7 +56,7 @@ Usage: `consul members [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
#### API Options
diff --git a/website/content/commands/namespace/create.mdx b/website/content/commands/namespace/create.mdx
index f5d611a542..068666e5ca 100644
--- a/website/content/commands/namespace/create.mdx
+++ b/website/content/commands/namespace/create.mdx
@@ -61,7 +61,7 @@ from the CLI arguments.
#### API Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_options_client.mdx'
diff --git a/website/content/commands/namespace/delete.mdx b/website/content/commands/namespace/delete.mdx
index 8742af6f4d..adc235be60 100644
--- a/website/content/commands/namespace/delete.mdx
+++ b/website/content/commands/namespace/delete.mdx
@@ -30,7 +30,7 @@ Usage: `consul namespace delete `
#### API Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_options_client.mdx'
diff --git a/website/content/commands/namespace/list.mdx b/website/content/commands/namespace/list.mdx
index 5d15c1f115..1b043ed657 100644
--- a/website/content/commands/namespace/list.mdx
+++ b/website/content/commands/namespace/list.mdx
@@ -42,7 +42,7 @@ Usage: `consul namespace list`
#### API Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_options_client.mdx'
diff --git a/website/content/commands/namespace/read.mdx b/website/content/commands/namespace/read.mdx
index 4a4621ef06..778f672ff5 100644
--- a/website/content/commands/namespace/read.mdx
+++ b/website/content/commands/namespace/read.mdx
@@ -41,7 +41,7 @@ Usage: `consul namespace read `
#### API Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_options_client.mdx'
diff --git a/website/content/commands/namespace/update.mdx b/website/content/commands/namespace/update.mdx
index 6349d307f6..4cce122356 100644
--- a/website/content/commands/namespace/update.mdx
+++ b/website/content/commands/namespace/update.mdx
@@ -68,7 +68,7 @@ with the existing namespace definition.
#### API Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_options_client.mdx'
diff --git a/website/content/commands/namespace/write.mdx b/website/content/commands/namespace/write.mdx
index 678c303a80..f1a16ec006 100644
--- a/website/content/commands/namespace/write.mdx
+++ b/website/content/commands/namespace/write.mdx
@@ -40,7 +40,7 @@ or HCL format. See [here](/consul/docs/enterprise/namespaces#namespace-definitio
#### API Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_options_client.mdx'
diff --git a/website/content/commands/peering/delete.mdx b/website/content/commands/peering/delete.mdx
index 81ba3439db..1bd474dc30 100644
--- a/website/content/commands/peering/delete.mdx
+++ b/website/content/commands/peering/delete.mdx
@@ -34,7 +34,7 @@ Usage: `consul peering delete [options] -name `
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
#### API Options
diff --git a/website/content/commands/peering/establish.mdx b/website/content/commands/peering/establish.mdx
index a00dc33218..782fb9cda6 100644
--- a/website/content/commands/peering/establish.mdx
+++ b/website/content/commands/peering/establish.mdx
@@ -36,7 +36,7 @@ Usage: `consul peering establish [options] -name -peering-token `
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
#### API Options
diff --git a/website/content/commands/peering/generate-token.mdx b/website/content/commands/peering/generate-token.mdx
index 92d007125c..6ce3fb059c 100644
--- a/website/content/commands/peering/generate-token.mdx
+++ b/website/content/commands/peering/generate-token.mdx
@@ -43,7 +43,7 @@ You can specify one or more load balancers or external IPs that route external t
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
#### API Options
diff --git a/website/content/commands/peering/list.mdx b/website/content/commands/peering/list.mdx
index f0b1c83777..9838de3e7b 100644
--- a/website/content/commands/peering/list.mdx
+++ b/website/content/commands/peering/list.mdx
@@ -30,7 +30,7 @@ Usage: `consul peering list [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
#### API Options
diff --git a/website/content/commands/peering/read.mdx b/website/content/commands/peering/read.mdx
index 596c514520..95a41b2701 100644
--- a/website/content/commands/peering/read.mdx
+++ b/website/content/commands/peering/read.mdx
@@ -31,7 +31,7 @@ Usage: `consul peering read [options] -name `
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
#### API Options
diff --git a/website/content/commands/services/deregister.mdx b/website/content/commands/services/deregister.mdx
index edc493866e..138de2e763 100644
--- a/website/content/commands/services/deregister.mdx
+++ b/website/content/commands/services/deregister.mdx
@@ -43,7 +43,7 @@ This flexibility makes it easy to pair the command with the
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/services/export.mdx b/website/content/commands/services/export.mdx
index 281d5f23e7..370f95dd64 100644
--- a/website/content/commands/services/export.mdx
+++ b/website/content/commands/services/export.mdx
@@ -40,7 +40,7 @@ Usage: consul services export [options] -name -consumer-peers ` - A comma-separated list of admin partitions within the
same datacenter to export the service to. This flag is optional when `-consumer-peers` is specified.
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/commands/services/exported-services.mdx b/website/content/commands/services/exported-services.mdx
index da1d3dd177..395ad2cb8b 100644
--- a/website/content/commands/services/exported-services.mdx
+++ b/website/content/commands/services/exported-services.mdx
@@ -32,7 +32,7 @@ Usage: `consul services exported-services [options]`
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
#### API Options
diff --git a/website/content/commands/services/register.mdx b/website/content/commands/services/register.mdx
index a1cbd8cf58..01a09d19bf 100644
--- a/website/content/commands/services/register.mdx
+++ b/website/content/commands/services/register.mdx
@@ -78,7 +78,7 @@ The following fields specify identical parameters in a standard service definiti
#### Enterprise Options
-@include 'http_api_partition_options.mdx'
+@include 'cli-http-api-partition-options.mdx'
@include 'http_api_namespace_options.mdx'
diff --git a/website/content/partials/http_api_partition_options.mdx b/website/content/partials/cli-http-api-partition-options.mdx
similarity index 100%
rename from website/content/partials/http_api_partition_options.mdx
rename to website/content/partials/cli-http-api-partition-options.mdx
diff --git a/website/content/partials/http-api-body-options-partition.mdx b/website/content/partials/http-api-body-options-partition.mdx
new file mode 100644
index 0000000000..a18edb55bc
--- /dev/null
+++ b/website/content/partials/http-api-body-options-partition.mdx
@@ -0,0 +1,3 @@
+
+- `Partition` `(string: "")` - The admin partition that the
+ peering token is generated from. Uses `default` when not specified.
\ No newline at end of file
diff --git a/website/content/partials/http-api-query-parms-partition.mdx b/website/content/partials/http-api-query-parms-partition.mdx
new file mode 100644
index 0000000000..7c5d845b1e
--- /dev/null
+++ b/website/content/partials/http-api-query-parms-partition.mdx
@@ -0,0 +1,2 @@
+- `partition` `(string: "")` - Specifies the partition of the peering
+ to read. If not specified, defaults to `default`.
\ No newline at end of file