Remove a piece of evidence by evidence id and workspace id

Delete a piece of evidence.

🔒 Requires Evidence Library: Delete Evidence permission.

Securitybearer
Request
path Parameters
id
required
number
workspaceId
required
number

The Workspace ID associated to the Account

Responses
200

Successful

401

Invalid Authorization

402

You must upgrade your plan to use this feature

403

You are not allowed to perform this action

404

Not Found

412

You must accept the Drata terms and conditions to use the API

500

Internal server error

delete/workspaces/{workspaceId}/evidence-library/{id}
Request samples
Response samples
application/json
{
  • "statusCode": 0,
  • "message": "string",
  • "code": 0,
  • "debugInfo": {
    • "name": "string",
    • "message": "string",
    • "stack": "string"
    }
}