Update the membership role for a user or group.
PUT /alfresco/service/api/sites/{shortname}/memberships
'shortname' is the shortname of the web site
Required parameters,
role, mandatory String, the new role name for this membership.
person object, with userName property
OR group object, with fullName property
OR authority object, with fullName property
Returns: The new authority.
The web script description document specifies the following
options:
Value | Description |
---|---|
json | The default response format |
user | The authentication access |
required | The transaction level |
argument | The format style |