---
title: "Set folder options"
method: POST
path: "/v2/files/options"
tags: ["v2"]
---

# Set folder options

`POST /v2/files/options`

Use this API method to change the folder options. You can enable/disable spin scanning, change the spin naming convention and enable/disable publicly viewable folder listings.

## Query parameters

- `filename` string, required

## Request body

- Model34
  - `scanSpins` boolean
  - `nameSpinsAfterFolder` boolean
  - `allowListing` boolean

## Response `default`

Successful

---

[API](https://skmtc.dev/sirv/apis/api-documentation.md) · [All operations](https://skmtc.dev/sirv/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sirv/api-documentation/revisions/80ff016d7d3a/schema)
