Lease

LeaseTimeToLive retrieves lease information.

post/v3/kv/lease/timetolive

Request

Request body

IDstring int64

ID is the lease ID for the lease.

keysboolean

keys is true to query all the keys attached to this lease.

Response

A successful response.

IDstring int64

ID is the lease ID from the keep alive request.

TTLstring int64

TTL is the remaining TTL in seconds for the lease; the lease will expire in under TTL+1 seconds.

grantedTTLstring int64

GrantedTTL is the initial granted time in seconds upon lease creation/renewal.

keysstring[]

Keys is the list of keys attached to this lease.

Changes

No recorded changes to this operation across all 1 revision of this API.