# Delete a secret Deletes the information of the secret with the matching secret identifier. Endpoint: DELETE /v1/orgs/{org}/projects/{project}/secrets/{secret} Version: 1.0 Security: x-api-key ## Path parameters: - `org` (string, required) Identifier field of the organization the resource is scoped to - `project` (string, required) Identifier field of the project the resource is scoped to - `secret` (string, required) Identifier field of the secret ## Header parameters: - `Harness-Account` (string) Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped. ## Response 200 fields (application/json): - `secret` (object) - `secret.name` (string, required) Secret name - `secret.identifier` (string, required) Secret identifier - `secret.org` (string) Organization identifier for secret - `secret.project` (string) Project identifier for secret - `secret.tags` (object) Secret tags - `secret.description` (string) Secret description - `secret.spec` (object, required) Details of the secret defined in Harness - `secret.spec.type` (string, required) This specifies the type of secret Enum: "SSHKeyPath", "SSHKeyReference", "SSHPassword", "SSHKerberosTGTKeyTabFile", "SSHKerberosTGTPassword", "SecretFile", "SecretText", "WinRmTGTKeyTabFile", "WinRmTGTPassword", "WinRmNTLM" - `created` (integer) Creation timestamp for the secret - `updated` (integer) Updated timestamp for the secret - `draft` (boolean) - `governance_metadata` (object) Governance metadata information