Skip to main content
DELETE
cURL

Authorizations

Authorization
string
header
required

An access token in Infisical

Body

application/json
environment
string
required

The slug of the environment where the secret is located.

secrets
object[]
required
Minimum array length: 1
projectSlug
string

The slug of the project to delete the secret in.

workspaceId
string

The ID of the project where the secret is located.

secretPath
string
default:/

The path of the secret.

Response

Default Response

secrets
object[]
required