public. Set password for a given user.
| Name | Type | Description |
| userid | string | either an integer user ID, "current", or "=" followed by a double uri-encoded user name |
| Name | Type | Description |
| altpassword | bool? | If true, the given password sets a secondary password that can be used for login. The main password is not overwritten. (default: false) |
| authenticate | bool? | Force authentication for request (default: false) |
| currentpassword | string? | Current password needed when changing your own password (without admin rights) |
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | Administrator access or account owner is required |
| NotFound | 404 | Requested user could not be found |
| Ok | 200 | The request completed successfully |
Input:
Content-type=text/plain
None
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by