Secrets

Deprecated. Use DELETE /api/v4/secrets/:secretName instead.

delete/api/v3/secrets/raw/{secretName}

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v3/secrets/raw/{secretName}
  • Auth
    HTTP bearer

Path parameters

secretNamestring required

The name of the secret to delete.

Request body

workspaceIdstring

The ID of the project where the secret is located.

projectSlugstring

The slug of the project to delete the secret in.

environmentstring required

The slug of the environment where the secret is located.

secretPathstring

The path of the secret.

type'shared' | 'personal'

The type of the secret to delete.

Response

Default Response

OR

Changes