Secrets
delete/api/v4/secrets/{secretName}

Request

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

Path parameters

secretNamestring required

The name of the secret to delete.

Request body

projectIdstring required

The ID of the project where the secret is located.

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

    • info

      added the optional property // to the response with the status