Add ability to change password of another user
This commit is contained in:
@@ -880,6 +880,31 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "setPassword",
|
||||
"method": "POST",
|
||||
"title": "Set's or changes user's password",
|
||||
"path": "/{userID}/password",
|
||||
"parameters": {
|
||||
"path": [
|
||||
{
|
||||
"type": "uint64",
|
||||
"name": "userID",
|
||||
"required": true,
|
||||
"title": "User ID"
|
||||
}
|
||||
],
|
||||
"post": [
|
||||
{
|
||||
"name": "password",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"sensitive": true,
|
||||
"title": "New password"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -219,6 +219,31 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "setPassword",
|
||||
"Method": "POST",
|
||||
"Title": "Set's or changes user's password",
|
||||
"Path": "/{userID}/password",
|
||||
"Parameters": {
|
||||
"path": [
|
||||
{
|
||||
"name": "userID",
|
||||
"required": true,
|
||||
"title": "User ID",
|
||||
"type": "uint64"
|
||||
}
|
||||
],
|
||||
"post": [
|
||||
{
|
||||
"name": "password",
|
||||
"required": true,
|
||||
"sensitive": true,
|
||||
"title": "New password",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user