---
updatedAt: 2026-05-17T10:49:23.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/governance/llms.txt
---

# Delete Evidence

Deletes the specified evidence file and its database record.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "JFrog Artifactory Evidence API",
    "description": "REST API for managing evidence records in JFrog Artifactory. Evidence records are secure, verifiable attestations about your software artifacts. They are crucial for establishing a chain of custody and ensuring compliance throughout your software supply chain.",
    "version": "1.0.0",
    "contact": {
      "name": "JFrog Support"
    }
  },
  "servers": [
    {
      "url": "https://{jfrog_url}/evidence/api/v1",
      "description": "Evidence API base path"
    }
  ],
  "tags": [
    {
      "name": "Evidence",
      "description": "Evidence management operations"
    }
  ],
  "paths": {
    "/evidence/{selector}": {
      "delete": {
        "tags": [
          "Evidence"
        ],
        "summary": "Delete Evidence",
        "description": "Deletes the specified evidence file and its database record.",
        "operationId": "deleteEvidence",
        "parameters": [
          {
            "name": "selector",
            "in": "path",
            "description": "Evidence selector path (e.g., my-repo/path/to/artifact.jar/evidence-file.json)",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Deleted - Evidence deleted successfully"
          },
          "400": {
            "description": "Bad Request - Invalid selector format.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Bad Credentials - The request failed because the authentication token is invalid or expired.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Permission Denied - The request failed because the authenticated user does not have the required Read and Delete permissions for the subject repository path.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found - The specified evidence does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "required": [
          "errors"
        ],
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "Human-readable error message"
          },
          "details": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Optional additional error details"
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "JWT token authentication"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```