# POST /shortlinks/admin/workspace-takedown

**Resource:** [SHORTLINKS](./shortlinks.md)  
**MCP tool:** `takedown_workspace_shortlinks`  
**Scopes:** `admin`  
**Write operation:** yes

TrustPager platform administrators only: turn off every short link of one workspace and stop it creating new ones, or undo that with restore.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `company_id` | body | string | yes | The workspace whose links all stop working. Example: "ebeff86e-7b09-4e49-96db-f711d69d2d57". |
| `reason` | body | string | no | Why, kept for the record. Example: "Abuse report 2026-10-29". |
| `restore` | body | boolean | no | true turns the workspace's links back on and lets it create links again. Default false. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/shortlinks/admin/workspace-takedown"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"company_id":"...","reason":"...","restore":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`