POST
/
api
/
v1
/
dynamic-secrets
/
leases
/
{leaseId}
/
renew

Path Parameters

leaseId
string
required

The ID of the dynamic secret lease.

Body

application/json
ttl
string

The renew TTL that gets added with current expiry (ensure it's below max TTL) for a total less than creation time + max TTL.

projectSlug
string
required

The slug of the project of the dynamic secret in.

path
string
default: /

The path of the dynamic secret in.

environmentSlug
string
required

The slug of the environment of the dynamic secret in.

Response

200 - application/json
lease
object
required

Was this page helpful?