Skip to content

Set or rotate the shared password

PUT
/status-pages/{id}/shared-password
curl --request PUT \
--url https://api.perstat.io/status-pages/example/shared-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "password": "example" }'

Sets or rotates the shared password of a status page. The password must be at least 12 characters and is stored only as a hash; rotation immediately invalidates all existing shared access sessions. Setting the password is separate from enabling the shared-password access mode in the page settings.

id
required
string
Media typeapplication/json
object
password
required

Klartext-Kennwort (min. 12 Zeichen). Wird Argon2-gehasht; at rest liegt nur der Hash. Wird NIE im DTO zurückgegeben.

string
Examplegenerated
{
"password": "example"
}

Kennwort < 12 Zeichen