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.- Args
- Returns
noneGet a user by email
Retrieves a user by email.- Args
- Returns
email (str): The email of the user to retrieve.Get all invited users
Retrieves all invited users.- Args
- Returns
noneInvite a user
Invites a user to the workspace.- Args
- Returns
email (str): The email of the user to invite.account_type (UserAccountType): The account type of the user to invite.Update a user’s account type
Updates the account type of a user.- Args
- Returns
uid (str): The ID of the user to update the account type for.account_type (UserAccountType): The new account type for the user.Disable a user
Disable a user in the workspace.- Args
- Returns
uid (str): The ID of the user to disable.