DELETE
/
api
/
v1
/
dynamic-secrets
/
leases
/
{leaseId}

Path Parameters

leaseId
string
required

The ID of the dynamic secret lease.

Body

application/json
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.

isForced
boolean
default: false

A 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
required