# POST /files/:file_id/make-private

**Resource:** [Files](./files.md)  
**MCP tool:** `make_file_private`  
**Scopes:** `files:write`  
**Write operation:** yes

Make a file private.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `file_id` | path | string | yes |  |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/files/:file_id/make-private"   -H "Authorization: Bearer YOUR_API_KEY"
```

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