0.10.0 introduces new methods for workspace and project management to MerginClient
We've implemented enhancements that allow you to directly create users within a workspace, list existing workspace members, modify workspace member details, retrieve a list of project collaborators, and adjust the roles of project collaborators. For instance, user creation can be performed as follows:
from mergin.common import WorkspaceRole
from mergin.client import MerginClient
client = MerginClient(login=<MERGIN_USERNAME>, password=<MERGIN_PASSWORD>)
user = client.create_user(
email="[email protected]",
password="<SOME STRONG PASSWORD>",
notify_user=True,
workspace_id=1,
workspace_role=WorkspaceRole.READER,
)
What's Changed
- V2 endpoints for user and access management by @harminius in #231
New Contributors
- @harminius made their first contribution in #231
Full Changelog: 0.9.4...0.10.0