set_password()

The User API

The set_password() function sets (updates) a user’s password.

Production URL

https://api.nextpertise.nl/user/v1

Method

set_password

Input

Set user password request

https://api.nextpertise.nl/schemas/user/set_user_password_request_v1.json

Set new user password

type

object

properties

  • password

type

string

additionalProperties

False

Output

Set user password reply

https://api.nextpertise.nl/schemas/user/set_user_password_reply_v1.json

Set new user password

type

object

properties

additionalProperties

False

Example

Request

curl -s -u <credential> https://api.nextpertise.nl/user/v1 -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "get_permission",
    "params":{
        "password": "secret"
    }
}' | jq .

Reply

{
    "jsonrpc": "2.0",
    "id": "1",
    "result": {}
}