mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-29 06:31:10 +01:00
Document LIST sys/quotas/lease-count (#15679)
This commit is contained in:
parent
3d01a88e61
commit
e83e608ab4
@ -103,3 +103,39 @@ $ curl \
|
|||||||
"warnings": null
|
"warnings": null
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## List Lease Count Quotas
|
||||||
|
|
||||||
|
This endpoint returns a list of all the lease count quotas. A 404 response will
|
||||||
|
be returned if no lease count quota has been created.
|
||||||
|
|
||||||
|
| Method | Path |
|
||||||
|
| :----- | :------------------------ |
|
||||||
|
| `LIST` | `/sys/quotas/lease-count` |
|
||||||
|
|
||||||
|
### Sample Request
|
||||||
|
|
||||||
|
```shell-session
|
||||||
|
$ curl \
|
||||||
|
--request LIST \
|
||||||
|
--header "X-Vault-Token: ..." \
|
||||||
|
http://127.0.0.1:8200/v1/sys/quotas/lease-count
|
||||||
|
```
|
||||||
|
|
||||||
|
### Sample Response
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"auth": null,
|
||||||
|
"data": {
|
||||||
|
"keys": ["global-lease-count-quota"]
|
||||||
|
},
|
||||||
|
"lease_duration": 0,
|
||||||
|
"lease_id": "",
|
||||||
|
"renewable": false,
|
||||||
|
"request_id": "ab633ee1-a692-ba03-083b-f1bd91c51c28",
|
||||||
|
"warnings": null,
|
||||||
|
"wrap_info": null
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user