Update lease revocation api docs (#12453)
* Update lease revocation api docs * Update lease_id description for lease renew endpoint
This commit is contained in:
parent
d2ac51815f
commit
8314a6a5f7
|
@ -91,8 +91,10 @@ cannot be renewed using this endpoint, use instead the auth/token/renew endpoint
|
|||
|
||||
### Parameters
|
||||
|
||||
- `lease_id` `(string: <required>)` – Specifies the ID of the lease to extend.
|
||||
This can be specified as part of the URL or as part of the request body.
|
||||
- `lease_id` `(string: <required>)` – Specifies the ID of the lease to extend. This
|
||||
parameter can either be specified in a json request, as shown below, or provided as
|
||||
a path parameter to the endpoint, like /sys/leases/revoke/:lease_id. If both are
|
||||
provided, the leaseID in the request json takes precedence.
|
||||
|
||||
- `increment` `(int: 0)` – Specifies the requested amount of time (in seconds)
|
||||
to extend the lease.
|
||||
|
@ -136,7 +138,10 @@ This endpoint revokes a lease immediately.
|
|||
|
||||
### Parameters
|
||||
|
||||
- `lease_id` `(string: <required>)` – Specifies the ID of the lease to revoke.
|
||||
- `lease_id` `(string: <required>)` – Specifies the ID of the lease to revoke. This
|
||||
parameter can either be specified in a json request, as shown below, or provided as
|
||||
a path parameter to the endpoint, like /sys/leases/revoke/:lease_id. If both are
|
||||
provided, the leaseID in the request json takes precedence.
|
||||
- `sync` `(bool: false)` - Instead of the default behaviour of queueing the lease
|
||||
revocation, sync=true will revoke the lease immediately and only return once
|
||||
complete.
|
||||
|
|
Loading…
Reference in New Issue