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

**Regenerate a performance audit share link.** Give a performance audit's shared report a new link; the current link stops working for good. Scope: write.

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

## When to use it

Give a performance audit's shared report a new link, as Regenerate in the Control Panel's Share Report pop-up does. The current link, and any older link to the audit, stop working for good: everyone the link was sent to loses it. Ask the person first, then type the audit's name as `confirm_name`. This answers only when the new link was made; corestack_company_performance_audit_share_link shows it.

## 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 `{regenerated: true, shared_at}`.

### 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. The link was not changed.
- `run_in_progress`: the audit has never been shared and a run is still writing its results; wait for it to finish, then try again.
- `rate_limited`: the person's performance audit changes (10 a minute, shared with the API) are used up; wait a minute.
- 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_share_link_regenerate",
  "arguments": {
    "audit_id": 276,
    "confirm_name": "Before and after"
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corestack_company_performance_audit_share_link_regenerate with audit_id 276. (Regenerate a performance audit share link.) Tell me what it returned.
```

## The same task elsewhere

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