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

Path Parameters

leaseId
string
required

The ID of the dynamic secret lease.

Minimum length: 1

Body

application/json
environmentSlug
string
required

The slug of the environment of the dynamic secret in.

Minimum length: 1
projectSlug
string
required

The slug of the project of the dynamic secret in.

Minimum length: 1
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.

path
string
default:
/

The path of the dynamic secret in.

Minimum length: 1

Response

200 - application/json
lease
object
required