Endpoint

/v1/users/{id}/setpassword

POST

Set a local user's password.

Parameters

Name Description Required
id The user's unique ID Yes

Request

Schema

{
  "description": "new_password",
  "type": "object",
  "properties": {
    "new_password": {
      "description": "new_password",
      "type": "string",
      "format": "password"
    }
  }
}

Response

Codes

Code Description
200 Return value on success