user_update

PUT /users/{uid}

Updates the information of an user.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: user_administrate,user_profile_edit

URI Parameters

  • uid (required): the user name (login name) of the user

HTTP Request Body Parameters

A user object

Example Request

curl "https://uforge.example.com/api/users/{uid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

<ns0:user xmlns:ns0="http://www.usharesoft.com/uforge">
        <loginName>guest</loginName>
        <active>true</active>
        <email>example2@example.com</email>
</ns0:user>