Skip to main content

User Management API

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.
The examples below authenticate with an account API key — pass Authorization: Bearer <token> and X-Paradime-Workspace: <workspace_uid> (the account key starts with prdm_cmp_). Legacy workspace API keys are still supported: send X-API-KEY and X-API-SECRET headers instead. See API Keys.
The User Management API enables you to efficiently administer and regulate user access within your workspace.

List Users

This endpoint will return a list of all the current active and invited users in your workspace. Example Request

Invite Users

This endpoint will enable you to invite users to your workspace. Example Request

Update User Role

This endpoint will enable you to update the role of a current signed up user in your workspace. Example Request

Disable User

This endpoint removes a user from a workspace. The user loses access to that workspace straight away. This is a soft delete, so you can invite the user back later.
Before you disable users:
  • The user is removed only from the workspace in the X-Paradime-Workspace header. If the user is a member of more than one workspace, call disableUser once for each workspace. Otherwise the user keeps access to the other workspaces.
  • The response is ok: true even when the uid is not a member of the workspace. Run List Users again to confirm the user was removed.
  • If the workspace has auto-join domains set, a removed user whose email matches an allowed domain can join the workspace again the next time they log in. To stop this, remove the domain from the allowed list or remove the user in your identity provider.
  • Your API key must have the User Management Admin capability.
Example Request