Skip to main content
This endpoint removes a user from your workspace. Conversations, Agents, files, and integrations are kept and become available again if you re-add the user. Langdock turns off tracing on Agents the user created in this workspace.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Prerequisites

  • API Key with the USER_MANAGEMENT_API scope
  • The API key must be created by a workspace admin

Behavior

  • User not found or not an active member? Returns 404.
  • Deactivated users lose workspace access immediately.
  • Conversations, Agents, files, and integrations are kept and become available again after reactivation.
  • Langdock turns off tracing on Agents the user created in this workspace. Saved Langfuse keys remain, and reactivation leaves tracing off.
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.