Delete Evidence

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Deletes the specified evidence file and its database record.

Since: 7.104.2

Security: Requires a valid token; requires Read and Delete permissions to the subject repository path

Usage: DELETE /evidence/api/v1/evidence/{subject-repo-path}/{evidence-name}

Sample Query:

curl --location --request DELETE 'http://<url>/evidence/api/v1/evidence/<path to the artifact>/<artifact full name>/<evidence's file name as was downloaded>' \
--header 'Authorization: ••••••'

Query Parameters (optional):

Field

Type

Description

sha256

string

An optional checksum of the evidence file.

Response Body: (empty)

Status Codes:

Code

Description

204

Deleted

401

Bad Credentials

403

Permission Denied

404

Not Found