Skip to main content
POST
Manage workspace users

Authorizations

Authorization
string
header
required

A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.

Body

application/json
organization_id
string
required

The ID of the organization that the workspace belongs to.

user_id
string
required

Your user id -- you must be an organization admin to manage workspace users.

workspace_id
string
required

The ID of the workspace to manage users for.

action
enum<string>
required

The action to perform - either 'add' or 'remove' a user.

Available options:
add,
remove
user_email
string
required

The email address of the target user to add or remove.

is_admin
boolean

When adding a user, specify whether they should have admin privileges (default is false).

Response

User successfully added to or removed from workspace

success
boolean
message
string

A success message describing the action performed.