# Revoke a public report link

Revokes one published public link: the URL stops working immediately for everybody holding it, and a stranger who visits it gets a flat not-found. The share row itself is kept, so "this report was on a public screen until March" stays answerable. Any admin, not only whoever published it. This leaves the report alone; `delete_reports_views_id` deletes the report and all of its links.

Access class: `workspace:admin`.

## Endpoint

`DELETE /v1/reports/shares/{id}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| id | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "revoked": true
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
