cURL
curl --request PUT \ --url https://api.coinfer.ai/base/user \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "new_password": "<string>", "password": "<string>" } '
{ "status": "<string>", "data": { "id": 123, "username": "<string>", "super": true, "roles": [ "<string>" ], "is_github_user": true } }
Modify the property of the current logined user. Currently only login password is supported.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
"ok"
Show child attributes