Merge pull request #12004 from hashicorp/consul-doc-day-changes-chip
Docs: Updating HTTP API endpoints with CLI equivalent links
This commit is contained in:
commit
9d24242b73
|
@ -34,7 +34,9 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
### Payload Fields
|
||||
The corresponding CLI command is [`consul acl auth-method create`](/commands/acl/auth-method/create).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Name` `(string: <required>)` - Specifies a name for the ACL auth method. The
|
||||
name can contain alphanumeric characters, dashes `-`, and underscores `_`.
|
||||
|
@ -160,6 +162,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl auth-method read`](/commands/acl/auth-method/read).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` - Specifies the name of the ACL auth method to
|
||||
|
@ -212,6 +216,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl auth-method update`](/commands/acl/auth-method/update).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Name` `(string: <required>)` - Specifies the name of the auth method to
|
||||
|
@ -343,6 +349,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl auth-method delete`](/commands/acl/auth-method/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` - Specifies the name of the ACL auth method to
|
||||
|
@ -385,6 +393,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl auth-method list`](/commands/acl/auth-method/list).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `ns` `(string: "")` <EnterpriseAlert inline /> - Specifies the namespace to list
|
||||
|
|
|
@ -34,6 +34,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl binding-rule create`](/commands/acl/binding-rule/create).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Description` `(string: "")` - Free form human readable description of the binding rule.
|
||||
|
@ -158,6 +160,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl binding-rule read`](/commands/acl/binding-rule/read).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `id` `(string: <required>)` - Specifies the UUID of the ACL binding rule
|
||||
|
@ -208,6 +212,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl binding-rule update`](/commands/acl/binding-rule/update).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `ID` `(string: <required>)` - Specifies the ID of the binding rule to update.
|
||||
|
@ -338,6 +344,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl binding-rule delete`](/commands/acl/binding-rule/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `id` `(string: <required>)` - Specifies the UUID of the ACL binding rule to
|
||||
|
@ -380,6 +388,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl binding-rule list`](/commands/acl/binding-rule/list).
|
||||
|
||||
## Parameters
|
||||
|
||||
- `authmethod` `(string: "")` - Filters the binding rule list to those binding
|
||||
|
|
|
@ -38,6 +38,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `none` |
|
||||
|
||||
The corresponding CLI command is [`consul acl bootstrap`](/commands/acl/bootstrap).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
@ -206,6 +208,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl translate-rules`](/commands/acl/translate-rules).
|
||||
|
||||
### Sample Payload
|
||||
|
||||
```hcl
|
||||
|
@ -253,6 +257,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl translate-rules`](/commands/acl/translate-rules).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
@ -294,6 +300,8 @@ enabled. Login requires the ability to create local tokens which is restricted
|
|||
to the primary datacenter and any secondary datacenters with ACL token
|
||||
replication enabled.
|
||||
|
||||
The corresponding CLI command is [`consul login`](/commands/login).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `AuthMethod` `(string: <required>)` - The name of the auth method to use for login.
|
||||
|
@ -380,6 +388,8 @@ The table below shows this endpoint's support for
|
|||
-> **Note** - This endpoint requires no specific privileges as it is just
|
||||
deleting a token for which you already must possess its secret.
|
||||
|
||||
The corresponding CLI command is [`consul logout`](/commands/logout).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
|
|
@ -33,6 +33,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl policy create`](/commands/acl/policy/create).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Name` `(string: <required>)` - Specifies a name for the ACL policy. The name
|
||||
|
@ -106,6 +108,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl policy read`](/commands/acl/policy/read).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `id` `(string: <required>)` - Specifies the UUID of the ACL policy to
|
||||
|
@ -156,6 +160,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl policy read -name=<string>`](/commands/acl/policy/read#name).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` - Specifies the name of the ACL policy to
|
||||
|
@ -206,6 +212,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl policy update`](/commands/acl/policy/update).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `ID` `(string: <required>)` - Specifies the UUID of the policy to update. This is
|
||||
|
@ -285,6 +293,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl policy delete`](/commands/acl/policy/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `id` `(string: <required>)` - Specifies the UUID of the ACL policy to
|
||||
|
@ -327,6 +337,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl policy list`](/commands/acl/policy/list).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `ns` `(string: "")` <EnterpriseAlert inline /> - Specifies the namespace to list
|
||||
|
|
|
@ -32,6 +32,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl role create`](/commands/acl/role/create).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Name` `(string: <required>)` - Specifies a name for the ACL role. The name
|
||||
|
@ -172,6 +174,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl role read`](/commands/acl/role/read).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `id` `(string: <required>)` - Specifies the UUID of the ACL role to
|
||||
|
@ -242,6 +246,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl role read -name=<string>`](/commands/acl/role/read#name).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` - Specifies the Name of the ACL role to
|
||||
|
@ -311,6 +317,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl role update`](/commands/acl/role/update).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `ID` `(string: <required>)` - Specifies the ID of the role to update. This is
|
||||
|
@ -427,6 +435,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl role delete`](/commands/acl/role/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `id` `(string: <required>)` - Specifies the UUID of the ACL role to
|
||||
|
@ -469,6 +479,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl role list`](/commands/acl/role/list).
|
||||
|
||||
## Parameters
|
||||
|
||||
- `policy` `(string: "")` - Filters the role list to those roles that are
|
||||
|
|
|
@ -32,6 +32,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl token create`](/commands/acl/token/create).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `AccessorID` `(string: "")` - Specifies a UUID to use as the token's Accessor ID.
|
||||
|
@ -173,6 +175,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl token read`](/commands/acl/token/read).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `AccessorID` `(string: <required>)` - Specifies the accessor ID of the ACL token to
|
||||
|
@ -243,6 +247,8 @@ The table below shows this endpoint's support for
|
|||
-> **Note** - This endpoint requires no specific privileges as it is just
|
||||
retrieving the data for a token that you must already possess its secret.
|
||||
|
||||
The corresponding CLI command is [`consul acl token read -self`](/commands/acl/token/read#self).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
@ -293,6 +299,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl token update`](/commands/acl/token/update).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `AccessorID` `(string: "")` - Specifies the accessor ID of the token being updated. This is
|
||||
|
@ -441,6 +449,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl token clone`](/commands/acl/token/clone).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `AccessorID` `(string: <required>)` - The accessor ID of the token to clone. This is required
|
||||
|
@ -520,6 +530,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `acl:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl token delete`](/commands/acl/token/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `AccessorID` `(string: <required>)` - Specifies the accessor ID of the ACL token to
|
||||
|
@ -562,6 +574,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `acl:read` |
|
||||
|
||||
The corresponding CLI command is [`consul acl token list`](/commands/acl/token/list).
|
||||
|
||||
## Parameters
|
||||
|
||||
- `policy` `(string: "")` - Filters the token list to those tokens that are
|
||||
|
|
|
@ -29,6 +29,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul partition create`](/commands/partition#create).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Name` `(string: <required>)` - The partition name. This must be a valid
|
||||
|
@ -85,6 +87,8 @@ The table below shows this endpoint's support for
|
|||
|
||||
<sup>1</sup> A non-anonymous token can read its own partition.
|
||||
|
||||
The corresponding CLI command is [`consul partition read`](/commands/partition#read).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` - Specifies the partition to read. This
|
||||
|
@ -126,6 +130,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul partition write`](/commands/partition#write).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Name` `(string: <optional>)` - The partition name. This must be a valid
|
||||
|
@ -188,6 +194,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul partition delete`](/commands/partition#delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` - Specifies the partition to delete. This
|
||||
|
@ -231,6 +239,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `NO` | `consistent` | `none` | `operator:read` |
|
||||
|
||||
The corresponding CLI command is [`consul partition list`](/commands/partition#list).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
|
|
@ -227,6 +227,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `node:read` |
|
||||
|
||||
The corresponding CLI command is [`consul members`](/commands/members).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `wan` `(bool: false)` - Specifies to list WAN members instead of the LAN
|
||||
|
@ -373,6 +375,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------- |
|
||||
| `NO` | `none` | `none` | `agent:write` |
|
||||
|
||||
The corresponding CLI command is [`consul reload`](/commands/reload).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
@ -404,6 +408,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `node:write` |
|
||||
|
||||
The corresponding CLI command is [`consul maint`](/commands/maint).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `enable` `(bool: <required>)` - Specifies whether to enable or disable
|
||||
|
@ -629,6 +635,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------- |
|
||||
| `NO` | `none` | `none` | `agent:write` |
|
||||
|
||||
The corresponding CLI command is [`consul join`](/commands/join).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `address` `(string: <required>)` - Specifies the address of the other agent to
|
||||
|
@ -669,6 +677,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------- |
|
||||
| `NO` | `none` | `none` | `agent:write` |
|
||||
|
||||
The corresponding CLI command is [`consul leave`](/commands/leave).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
@ -706,6 +716,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul force-leave`](/commands/force-leave).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `node` `(string: <required>)` - Specifies the name of the node to be forced into `left` state. This is specified as part of the URL.
|
||||
|
@ -780,6 +792,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------- |
|
||||
| `NO` | `none` | `none` | `agent:write` |
|
||||
|
||||
The corresponding CLI command is [`consul acl set-agent-token`](/commands/acl/set-agent-token).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Token` `(string: "")` - Specifies the ACL token to set.
|
||||
|
|
|
@ -593,6 +593,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `NO` | `none` | `none` | `service:write` |
|
||||
|
||||
The corresponding CLI command is [`consul services register`](/commands/services/register).
|
||||
|
||||
### Query string parameters
|
||||
|
||||
- `replace-existing-checks` - Missing health checks from the request will be deleted from the agent. Using this parameter allows to idempotently register a service and its checks without having to manually deregister checks.
|
||||
|
@ -766,6 +768,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `NO` | `none` | `none` | `service:write` |
|
||||
|
||||
The corresponding CLI command is [`consul services deregister`](/commands/services/deregister).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `service_id` `(string: <required>)` - Specifies the ID of the service to
|
||||
|
|
|
@ -266,6 +266,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `none` |
|
||||
|
||||
The corresponding CLI command is [`consul catalog datacenters`](/commands/catalog/datacenters).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
@ -297,6 +299,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `node:read` |
|
||||
|
||||
The corresponding CLI command is [`consul catalog nodes`](/commands/catalog/nodes).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
@ -392,6 +396,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | -------------- |
|
||||
| `YES` | `all` | `none` | `service:read` |
|
||||
|
||||
The corresponding CLI command is [`consul catalog services`](/commands/catalog/services).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
|
|
@ -48,6 +48,8 @@ The table below shows this endpoint's support for
|
|||
| service-splitter | `service:write` |
|
||||
| terminating-gateway | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul config write`](/commands/config/write).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
@ -115,6 +117,8 @@ The table below shows this endpoint's support for
|
|||
| service-splitter | `service:read` |
|
||||
| terminating-gateway | `service:read` |
|
||||
|
||||
The corresponding CLI command is [`consul config read`](/commands/config/read).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
@ -184,6 +188,8 @@ The table below shows this endpoint's support for
|
|||
| service-splitter | `service:read` |
|
||||
| terminating-gateway | `service:read` |
|
||||
|
||||
The corresponding CLI command is [`consul config list`](/commands/config/list).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
@ -258,6 +264,8 @@ The table below shows this endpoint's support for
|
|||
| service-splitter | `service:write` |
|
||||
| terminating-gateway | `operator:write ` |
|
||||
|
||||
The corresponding CLI command is [`consul config delete`](/commands/config/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
|
|
@ -125,6 +125,8 @@ The table below shows this endpoint's support for
|
|||
<sup>1</sup> ACL required was <code>operator:read</code> prior to versions 1.8.6,
|
||||
1.7.10, and 1.6.10.
|
||||
|
||||
The corresponding CLI command is [`consul connect ca get-config`](/commands/connect/ca#get-config).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
@ -165,6 +167,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul connect ca set-config`](/commands/connect/ca#set-config).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Provider` `(string: <required>)` - Specifies the CA provider type to use.
|
||||
|
|
|
@ -54,6 +54,8 @@ The table below shows this endpoint's support for
|
|||
for more details.
|
||||
</p>
|
||||
|
||||
The corresponding CLI command is [`consul intention create -replace`](/commands/intention/create#replace).
|
||||
|
||||
### URL Parameters
|
||||
|
||||
- `source` `(string: <required>)` - Specifies the source service. This
|
||||
|
@ -163,6 +165,8 @@ The table below shows this endpoint's support for
|
|||
for more details.
|
||||
</p>
|
||||
|
||||
The corresponding CLI command is [`consul intention create`](/commands/intention/create).
|
||||
|
||||
### URL Parameters
|
||||
|
||||
- `ns` `(string: "")` <EnterpriseAlert inline /> - Specifies the default
|
||||
|
@ -315,6 +319,8 @@ The table below shows this endpoint's support for
|
|||
for more details.
|
||||
</p>
|
||||
|
||||
The corresponding CLI command is [`consul intention get`](/commands/intention/get).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `source` `(string: <required>)` - Specifies the source service. This
|
||||
|
@ -390,6 +396,8 @@ The table below shows this endpoint's support for
|
|||
for more details.
|
||||
</p>
|
||||
|
||||
The corresponding CLI command is [`consul intention get`](/commands/intention/get).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `uuid` `(string: <required>)` - Specifies the UUID of the intention to read. This
|
||||
|
@ -450,6 +458,8 @@ The table below shows this endpoint's support for
|
|||
for more details.
|
||||
</p>
|
||||
|
||||
The corresponding CLI command is [`consul intention list`](/commands/intention/list).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `filter` `(string: "")` - Specifies the expression used to filter the
|
||||
|
@ -539,6 +549,8 @@ The table below shows this endpoint's support for
|
|||
for more details.
|
||||
</p>
|
||||
|
||||
The corresponding CLI command is [`consul intention delete`](/commands/intention/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `source` `(string: <required>)` - Specifies the source service. This
|
||||
|
@ -597,6 +609,8 @@ The table below shows this endpoint's support for
|
|||
for more details.
|
||||
</p>
|
||||
|
||||
The corresponding CLI command is [`consul intention delete`](/commands/intention/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `uuid` `(string: <required>)` - Specifies the UUID of the intention to delete. This
|
||||
|
@ -652,6 +666,8 @@ The table below shows this endpoint's support for
|
|||
for more details.
|
||||
</p>
|
||||
|
||||
The corresponding CLI command is [`consul intention check`](/commands/intention/check).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `source` `(string: <required>)` - Specifies the source service. This
|
||||
|
@ -715,6 +731,8 @@ The table below shows this endpoint's support for
|
|||
for more details.
|
||||
</p>
|
||||
|
||||
The corresponding CLI command is [`consul intention match`](/commands/intention/match).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `by` `(string: <required>)` - Specifies whether to match the "name" value
|
||||
|
|
|
@ -38,6 +38,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `none` |
|
||||
|
||||
The corresponding CLI command is [`consul rtt -wan`](/commands/rtt#wan).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
@ -90,6 +92,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `node:read` |
|
||||
|
||||
The corresponding CLI command is [`consul rtt`](/commands/rtt).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
|
|
@ -29,6 +29,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------- |
|
||||
| `NO` | `none` | `none` | `event:write` |
|
||||
|
||||
The corresponding CLI command is [`consul event`](/commands/event).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` - Specifies the name of the event to fire. This
|
||||
|
|
|
@ -43,6 +43,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `YES` | `all` | `none` | `key:read` |
|
||||
|
||||
The corresponding CLI command is [`consul kv get`](/commands/kv/get).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `key` `(string: "")` - Specifies the path of the key to read.
|
||||
|
@ -173,6 +175,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `key:write` |
|
||||
|
||||
The corresponding CLI command is [`consul kv put`](/commands/kv/put).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `key` `(string: "")` - Specifies the path of the key.
|
||||
|
@ -259,6 +263,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `key:write` |
|
||||
|
||||
The corresponding CLI command is [`consul kv delete`](/commands/kv/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
|
|
@ -29,6 +29,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul namespace create`](/commands/namespace/create).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Name` `(string: <required>)` - The namespaces name. This must be a valid
|
||||
|
@ -161,6 +163,8 @@ The table below shows this endpoint's support for
|
|||
<sup>1</sup> Access can be granted to list the Namespace if the token used when making
|
||||
the request has been granted any access in the namespace (read, list or write).
|
||||
|
||||
The corresponding CLI command is [`consul namespace read`](/commands/namespace/read).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` - Specifies the namespace to read. This
|
||||
|
@ -227,6 +231,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul namespace update`](/commands/namespace/update) or [`consul namespace write`](/commands/namespace/write).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `Name` `(string: <optional>)` - The namespaces name. This must be a valid
|
||||
|
@ -364,6 +370,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul namespace delete`](/commands/namespace/delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `name` `(string: <required>)` - Specifies the namespace to delete. This
|
||||
|
@ -436,6 +444,8 @@ The table below shows this endpoint's support for
|
|||
<sup>1</sup> Access can be granted to list the Namespace if the token used when making
|
||||
the request has been granted any access in the namespace (read, list or write).
|
||||
|
||||
The corresponding CLI command is [`consul namespace list`](/commands/namespace/list).
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
|
|
@ -45,6 +45,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul operator area create`](/commands/operator/area#create).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
@ -111,6 +113,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `YES` | `all` | `none` | `operator:read` |
|
||||
|
||||
The corresponding CLI command is [`consul operator area list`](/commands/operator/area#list).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
@ -154,6 +158,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul operator area update`](/commands/operator/area#update).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
@ -244,6 +250,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul operator area delete`](/commands/operator/area#delete).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `uuid` `(string: <required>)` - Specifies the UUID of the area to delete. This
|
||||
|
@ -280,6 +288,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul operator area join`](/commands/operator/area#join).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `uuid` `(string: <required>)` - Specifies the UUID of the area to join. This
|
||||
|
@ -353,6 +363,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `NO` | `none` | `none` | `operator:read` |
|
||||
|
||||
The corresponding CLI command is [`consul operator area members`](/commands/operator/area#members).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `uuid` `(string: <required>)` - Specifies the UUID of the area to list. This
|
||||
|
|
|
@ -33,6 +33,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `NO` | `none` | `none` | `operator:read` |
|
||||
|
||||
The corresponding CLI command is [`consul operator autopilot get-config`](/commands/operator/autopilot#get-config).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
@ -87,6 +89,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul operator autopilot set-config`](/commands/operator/autopilot#set-config).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
@ -269,6 +273,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `NO` | `none` | `none` | `operator:read` |
|
||||
|
||||
The corresponding CLI command is [`consul operator autopilot state`](/commands/operator/autopilot#state).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
|
|
@ -35,6 +35,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | -------------- |
|
||||
| `NO` | `none` | `none` | `keyring:read` |
|
||||
|
||||
The corresponding CLI command is [`consul keyring -list`](/commands/keyring#list).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `relay-factor` `(int: 0)` - Specifies the relay factor. Setting this to a
|
||||
|
@ -120,6 +122,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `NO` | `none` | `none` | `keyring:write` |
|
||||
|
||||
The corresponding CLI command is [`consul keyring -intstall`](/commands/keyring#install).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `relay-factor` `(int: 0)` - Specifies the relay factor. Setting this to a
|
||||
|
@ -166,6 +170,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `NO` | `none` | `none` | `keyring:write` |
|
||||
|
||||
The corresponding CLI command is [`consul keyring -use`](/commands/keyring#use).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `relay-factor` `(int: 0)` - Specifies the relay factor. Setting this to a
|
||||
|
@ -212,6 +218,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | --------------- |
|
||||
| `NO` | `none` | `none` | `keyring:write` |
|
||||
|
||||
The corresponding CLI command is [`consul keyring -remove`](/commands/keyring#remove).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `relay-factor` `(int: 0)` - Specifies the relay factor. Setting this to a
|
||||
|
|
|
@ -31,6 +31,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `all` | `none` | `none` |
|
||||
|
||||
The corresponding CLI command is [`consul license get`](/commands/license#get).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter whose license should be retrieved.
|
||||
|
@ -96,6 +98,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul license put`](/commands/license#put).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter whose license should be updated.
|
||||
|
@ -166,6 +170,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul license reset`](/commands/license#reset).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter whose license should be updated.
|
||||
|
|
|
@ -130,6 +130,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ---------------- |
|
||||
| `NO` | `none` | `none` | `operator:write` |
|
||||
|
||||
The corresponding CLI command is [`consul operator raft remove-peer`](/commands/operator/raft#remove-peer).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
|
|
@ -39,6 +39,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `default,stale` | `none` | `management` |
|
||||
|
||||
The corresponding CLI command is [`consul snapshot save`](/commands/snapshot/save).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default
|
||||
|
@ -94,6 +96,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `management` |
|
||||
|
||||
The corresponding CLI command is [`consul snapshot restore`](/commands/snapshot/restore).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default
|
||||
|
|
|
@ -70,6 +70,8 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------- | ------------ |
|
||||
| `NO` | `none` | `none` | `none` |
|
||||
|
||||
The corresponding CLI command is [`consul operator raft list-peers`](/commands/operator/raft#list-peers).
|
||||
|
||||
### Parameters
|
||||
|
||||
- `dc` `(string: "")` - Specifies the datacenter to query. This will default to
|
||||
|
|
Loading…
Reference in New Issue