orgMember_update

PUT /orgs/{oid}/members/{uid}

Adds or updates (the privileges of) an user to an organization.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_members_administrate

URI Parameters

  • uid (required): the user name (login name) of the user to add or update
  • oid (required): the id of the org

HTTP Request Body Parameters

A user object

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/members/{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>example</loginName>
        <active>false</active>
</ns0:user>