---
title: "Enable password protection"
method: POST
path: "/settings/password-protection"
tags: ["Settings"]
---

# Enable password protection

`POST /settings/password-protection`

## Request

- Base URL: `https://api.cavuno.com/v1`
- URL: `https://api.cavuno.com/v1/settings/password-protection`
- Auth: HTTP bearer

Enables password protection for your board with the supplied password. The password must be at least eight characters.

## Request body

- SettingsPasswordProtectionBody
  - `password` string, required: Plaintext password used to gate the public board. Must be at least 8 characters. Stored hashed and encrypted server-side.

## Response `200`

Successful response.

## Other responses

- `400`: The password is shorter than the 8-character minimum.

## Changes

- **2026-10-19** `c34152c38176`: 1 info
  - added the optional property `error/upgrade` to the response with the `400` status

[Operation history](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/changes/settings/password-protection/post.md)

---

[API](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api.md) · [All operations](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/revisions/d5974dabff14?raw)
