{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Body of `POST /api/v1/auth/password/set` (standalone installs only): sets the\nmember's password with a one-time setup token from a setup link.",
"properties": {
"password": {
"description": "The new password: 12–1024 bytes and at least 12 characters. The server also refuses a\npassword equal to the username.",
"type": "string"
},
"token": {
"description": "The setup token, `sewpw_<secret>` (from the link's `#token=` fragment).",
"type": "string"
}
},
"required": [
"token",
"password"
],
"title": "PasswordSetRequest",
"type": "object"
}