CorefinityCorefinityDocs
Open the Control PanelControl Panel
Performance audits · 6 of 14

Delete a performance audit

Deletes an audit, its results and its share link for good: send the audit's name, typed exactly, as confirm_name. An audit cannot be deleted while a run is queued or running.

DELETE/api/performance-audits/{audit}

Path parameters

auditintegerRequired

The id of an audit. Digits only. At least 1.

Body

confirm_namestringRequired

The audit's name, typed exactly. Up to 255 characters.

Returns

200 The audit was deleted.

Fields of the 200 answer
deletedbooleanRequired
idintegerRequired

At least 1.

If it is refused

StatusReasonWhat to do
401noneSend a valid token as Authorization: Bearer <token>.
403scope_requiredUse a token with the scope named in scope.
404noneCheck the id. You see only what your account can reach.
409run_in_progressThe audit is running. Wait for it to finish.
422confirm_mismatchSend the confirmation exactly as the field named in field asks for it.
422invalidFix the field named in field; errors says why.
429rate_limitedWait for the seconds in Retry-After.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl -X DELETE https://manage.corefinity.com/api/performance-audits/5210 \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "confirm_name": "Before and after the move"
  }'
{
  "deleted": true,
  "id": 5210
}
Try it

Try it is off for this endpointIt deletes data that cannot be brought back. Copy the request and run it yourself when you are sure.

Was this helpful?
Open in ClaudeOpen in ChatGPT