Skip to content

Set a password (admin)​

PUT
/api/v1/users/{id}/password

This also stops all sessions of the user.

Authorizations​

session
Type
API Key (cookie: pvmon_session)
or
token

API token pvm_<id>_<secret>.

Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
{
  
"password": "string"
}

Responses​

Changed.

Samples​

Version 0.4.0-66c93c2. MIT license.