---
title: "Set the default filename visibility"
method: POST
path: "/v1/account/filename-mode"
tags: ["Account"]
---

# Set the default filename visibility

`POST /v1/account/filename-mode`

## Request

- Base URL: `https://filepost.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://filepost.dev/v1/account/filename-mode`
- Auth: none declared

## Headers

- `X-API-Key` string, nullable

## Request body

- FilenameModeRequest
  - `filename_mode` 'download' | 'public', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/filepost/apis/filepost-api.md) · [All operations](https://skmtc.dev/filepost/apis/filepost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/filepost/apis/filepost-api/revisions/8fdf9a6d47ce?raw)
