curl --request POST \
--url https://us.infisical.com/api/v1/dynamic-secrets/leases/{leaseId}/renew \
--header 'Content-Type: application/json' \
--data '{
"ttl": "<string>",
"projectSlug": "<string>",
"path": "/",
"environmentSlug": "<string>"
}'
{
"lease": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"externalEntityId": "<string>",
"expireAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"statusDetails": "<string>",
"dynamicSecretId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"config": "<any>"
}
}
curl --request POST \
--url https://us.infisical.com/api/v1/dynamic-secrets/leases/{leaseId}/renew \
--header 'Content-Type: application/json' \
--data '{
"ttl": "<string>",
"projectSlug": "<string>",
"path": "/",
"environmentSlug": "<string>"
}'
{
"lease": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"externalEntityId": "<string>",
"expireAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"statusDetails": "<string>",
"dynamicSecretId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"config": "<any>"
}
}
The ID of the dynamic secret lease.
1
Default Response
The response is of type object
.
Was this page helpful?