workspaceMember_update¶
-
PUT /orgs/{oid}/workspaces/{wid}/memberships/{mid}
Updates the membership role of an user in a workspace.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
None
URI Parameters¶
wid
(required): the id of the workspacemid
(required): the id of the membershipoid
(required): the id of the org
HTTP Request Body Parameters¶
A membership object
Example Request¶
curl "https://uforge.example.com/api/orgs/{oid}/workspaces/{wid}/memberships/{mid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:membership xmlns:ns0="http://www.usharesoft.com/uforge">
<role>Collaborator</role>
<userEmail>example@example.com</userEmail>
</ns0:membership>