Was this page helpful?

PUT:users/{userid}/password

    Overview

    public. Set password for a given user.

    Uri Parameters
    NameTypeDescription
    useridstringeither an integer user ID, "current", or "=" followed by a double uri-encoded user name
    Query Parameters
    NameTypeDescription
    altpasswordbool?If true, the given password sets a secondary password that can be used for login. The main password is not overwritten. (default: false)
    authenticatebool?Force authentication for request (default: false)
    currentpasswordstring?Current password needed when changing your own password (without admin rights)
    Return Codes
    NameValueDescription
    BadRequest400Invalid input parameter or request body
    Forbidden403Administrator access or account owner is required
    NotFound404Requested user could not be found
    Ok200The request completed successfully

    Message Format

    Input:
    Content-type=text/plain

    Implementation Notes

    None

    Code Samples

    C# Samples

     

    Curl Samples

     

    PHP Samples

     

    Other Code Samples

     

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by