v1

latestOpenAPI 3.0.02026-07-26492143.5 KB
Organization

Manage workspace users

This endpoint allows organization administrators to add or remove users from a workspace.

post/manage_workspace_users

Request body

organization_idstring required

The ID of the organization that the workspace belongs to.

user_idstring required

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

workspace_idstring required

The ID of the workspace to manage users for.

action'add' | 'remove' required

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

user_emailstring required

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

is_adminboolean

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

Response

User successfully added to or removed from workspace

successboolean
messagestring

A success message describing the action performed.