diff --git a/website/content/api-docs/system/leases.mdx b/website/content/api-docs/system/leases.mdx index eceaa5bcc..890f1635b 100644 --- a/website/content/api-docs/system/leases.mdx +++ b/website/content/api-docs/system/leases.mdx @@ -91,8 +91,10 @@ cannot be renewed using this endpoint, use instead the auth/token/renew endpoint ### Parameters -- `lease_id` `(string: )` – 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: )` – 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: )` – Specifies the ID of the lease to revoke. +- `lease_id` `(string: )` – 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.