> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langdock.com/llms.txt
> Use this file to discover all available pages before exploring further.

# User Management API Overview

> Invite and deactivate workspace users programmatically

The User Management API lets you invite users to your Langdock workspace and deactivate them programmatically, for example to automate onboarding and offboarding from your own systems.

## Before You Start

* **API key scope**: Requires an API key with the `USER_MANAGEMENT_API` scope. The API key must be created by a workspace admin.

## Base URL

```
https://api.langdock.com
```

<Warning>
  **Dedicated deployments**

  Replace `api.langdock.com` with `<your-deployment-url>/api/public` in all requests.
</Warning>

## Available Endpoints

| Method | Endpoint                              | Description                                                                      |
| ------ | ------------------------------------- | -------------------------------------------------------------------------------- |
| `POST` | `/user-management/v1/invite`          | [Invite users to the workspace](/en/developer/user-management-api/invite)        |
| `POST` | `/user-management/v1/deactivate-user` | [Deactivate a workspace user](/en/developer/user-management-api/deactivate-user) |
