PUT /orgs/{oid}/workspaces/{wid}/memberships/{mid}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 3.3.2
Updates the membership role of an user in a workspace.
- Requires Authentication:
true
- Entitlements Required:
None
wid
(required): the id of theworkspace-object
mid
(required): the id of themembership-object
oid
(required): the id of theorg-object
A membership-object
object
curl "https://uforge.example.com/api/orgs/{oid}/workspaces/{wid}/memberships/{mid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: 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>
membership-object
workspace-api-resources
workspace-object
workspaceMember-delete
workspaceMember-deleteList
workspaceMember-getAll
workspaceMember-invite
workspaceMember-update
workspaceMember-updateList