Skip to main content
DELETE
/
reports
/
name
/
{report_name}
Delete Reports by Name
curl --request DELETE \
  --url https://api.promptlayer.com/reports/name/{report_name} \
  --header 'X-API-KEY: <api-key>'
{
  "success": true,
  "message": "<string>"
}
Legacy Dataset, Evaluation, and Report endpoints are deprecated for new workflows. Use the Tables API for new dataset import, evaluation, scoring, recalculation, and reporting workflows.
This endpoint archives all reports with the specified name within the workspace associated with the provided API key.

Authorizations

X-API-KEY
string
header
required

Path Parameters

report_name
string
required

Name of the report to archive.

Response

Successful Operation

success
boolean
required
message
string
required