Secrets

Delete secret

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

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

Changed in 1 of the 20 revisions of this API.1

    • added the optional property anyOf[subschema #2]/approval/committerIdentityId to the response with the 200 status

      response-optional-property-added