---
title: "corestack_company_performance_audit_delete"
url: https://docs.corefinity.com/mcp/tools/corestack_company_performance_audit_delete
type: tool
last_updated: 2026-11-13
feature: performance-audits
related:
  - https://docs.corefinity.com/guides/tools/performance-audits.md
---
# corestack_company_performance_audit_delete

**Delete a performance audit.** Delete a performance audit with its results and share link, for good. Scope: write.

- Scope: `write`
- Confirmation: `confirm_name`
- Runs as a task: no

## When to use it

Delete a performance audit, as the Control Panel's Delete does: the audit, its results and its share link go for good. Ask the person first, then type the audit's name as `confirm_name`. Not while a run is queued or running.

## Inputs

- `audit_id` (integer, ≥ 1, required)
- `confirm_name` (string, required): the audit's name, typed exactly (surrounding spaces are ignored), as corestack_company_performance_audit_get answers it.

Answers `{id, deleted: true}`.

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "audit_id": {
      "minimum": 1,
      "type": "integer"
    },
    "confirm_name": {
      "description": "The audit's name, typed exactly.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "audit_id",
    "confirm_name"
  ],
  "type": "object"
}
```

## Refusals

- `tenant_mismatch`: no such audit, or it belongs to a company you may not access.
- `confirm_mismatch`: `confirm_name` is not the audit's name. Nothing was deleted.
- `run_in_progress`: the audit is queued or running; wait for it to finish (corestack_company_performance_audit_get), then delete it.
- The refusals every tool can answer: `invalid_arguments`, `tenant_mismatch`, `scope_required`, `pin_refused`, `rate_limited`, `temporarily_unavailable`, `internal_error` (corestack://guides/how-this-server-works).

## Example

```json
{
  "name": "corestack_company_performance_audit_delete",
  "arguments": {
    "audit_id": 276,
    "confirm_name": "Before and after"
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corestack_company_performance_audit_delete with audit_id 276. (Delete a performance audit.) Tell me what it returned.
```

## The same task elsewhere

- Guide: [Performance audits](https://docs.corefinity.com/guides/tools/performance-audits.md)
