Overview
Prerequisites:
- This feature is available with the Paradime Enterprise pack.
- Your API keys must have either User Management Admin or User Metadata Viewer capabilities.
These examples authenticate with an account API key (
api_secret="prdm_cmp_..." plus workspace_uid), which requires paradime-io 6.0.0 or later. Legacy workspace API keys (api_key + api_secret) are still supported. See Getting Started.Get all active users
Retrieves all active users.List[ActiveUser]
A list of active user objects.
Get a user by email
Retrieves a user by email.str
required
The email of the user to retrieve.
ActiveUser
The user object.
Get all invited users
Retrieves all invited users.List[InvitedUser]
A list of invited user objects.
Invite a user
Invites a user to the workspace.str
required
The email of the user to invite.
UserAccountType
required
The account type of the user to invite.
None
This method returns nothing.
Update a user’s account type
Updates the account type of a user.str
required
The ID of the user to update the account type for.
UserAccountType
required
The new account type for the user.
None
This method returns nothing.
Disable a user
Disable a user in the workspace.str
required
The ID of the user to disable.
None
This method returns nothing.