diff --git a/packages/api/dynamic_secrets/renew_lease.go b/packages/api/dynamic_secrets/renew_lease.go index 832c4b2..08b4ff5 100644 --- a/packages/api/dynamic_secrets/renew_lease.go +++ b/packages/api/dynamic_secrets/renew_lease.go @@ -15,7 +15,7 @@ func CallRenewDynamicSecretLeaseV1(httpClient *resty.Client, request RenewDynami SetResult(&renewResponse). SetBody(request) - res, err := req.Post("/v1/dynamic-secrets/leases/" + request.LeaseId) + res, err := req.Post("/v1/dynamic-secrets/leases/" + request.LeaseId + "/renew") if err != nil { return RenewDynamicSecretLeaseV1Response{}, errors.NewRequestError(callRenewDynamicSecretLeaseV1Operation, err)