Dynamic Secrets
Delete Lease
DELETE
/
api
/
v1
/
dynamic-secrets
/
leases
/
{leaseId}
Path Parameters
leaseId
string
requiredThe ID of the dynamic secret lease.
Body
application/json
projectSlug
string
requiredThe slug of the project of the dynamic secret in.
path
string
default: /The path of the dynamic secret in.
environmentSlug
string
requiredThe slug of the environment of the dynamic secret in.
isForced
boolean
default: falseA boolean flag to delete the the dynamic secret from Infisical without trying to remove it from external provider. Used when the dynamic secret got modified externally.
Response
200 - application/json
lease
object
requiredWas this page helpful?