---
title: "PUT /servers/{serverId}/passwords"
method: PUT
path: "/servers/{serverId}/passwords"
tags: ["Password", "Invite Code", "Access Code", "Password Protection", "Lock"]
---

# PUT /servers/{serverId}/passwords

`PUT /servers/{serverId}/passwords`

(Optional) Add a password to verification page to prevent unknown members accessing your server.

## Path parameters

- `serverId` integer, required

## Request body

- object
  - `password` string — A verification password. There are no restrictions, it can be all numbers or text. Make it as long or as short as you prefer (if you have 500+ members, password should be 13+ bytes long for bruteforce protection)

## Response `200`

Password has been added. You can add unlimited passwords to your server's verification.

- object
  - `success` boolean
  - `message` string

## Other responses

- `401` — API key invalid, please generate a new one from dash.vaultcord.com/developers

---

[API](https://skmtc.dev/vaultcord/apis/vaultcord-developers-api.md) · [All operations](https://skmtc.dev/vaultcord/apis/vaultcord-developers-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vaultcord/vaultcord-developers-api/revisions/7790bd606410/schema)
