docs: add missing prefix
param to the ACL API endpoints
This commit is contained in:
parent
e8942312bb
commit
b9ef978641
|
@ -28,6 +28,10 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------ |
|
||||
| `YES` | `all` | `management` for all policies.<br>Output when given a non-management token will be limited to the policies on the token itself |
|
||||
|
||||
### Parameters
|
||||
|
||||
- `prefix` `(string: "")` - Specifies a string to filter ACL policies based on
|
||||
a name prefix. This is specified as a query string parameter.
|
||||
|
||||
### Sample Request
|
||||
|
||||
|
@ -36,6 +40,11 @@ $ curl \
|
|||
https://localhost:4646/v1/acl/policies
|
||||
```
|
||||
|
||||
```text
|
||||
$ curl \
|
||||
https://localhost:4646/v1/acl/policies?prefix=prod
|
||||
```
|
||||
|
||||
### Sample Response
|
||||
|
||||
```json
|
||||
|
|
|
@ -70,6 +70,10 @@ The table below shows this endpoint's support for
|
|||
| ---------------- | ----------------- | ------------ |
|
||||
| `YES` | `all` | `management` |
|
||||
|
||||
### Parameters
|
||||
|
||||
- `prefix` `(string: "")` - Specifies a string to filter ACL tokens based on an
|
||||
accessor ID prefix. This is specified as a query string parameter.
|
||||
|
||||
### Sample Request
|
||||
|
||||
|
@ -78,6 +82,12 @@ $ curl \
|
|||
https://localhost:4646/v1/acl/tokens
|
||||
```
|
||||
|
||||
```text
|
||||
$ curl \
|
||||
--request POST \
|
||||
https://localhost:4646/v1/acl/bootstrap?prefix=3da2ed52
|
||||
```
|
||||
|
||||
### Sample Response
|
||||
|
||||
```json
|
||||
|
|
Loading…
Reference in a new issue