Skip to main content
This endpoint removes a user from your workspace. Their data — including conversations, agents, files, and integrations — is preserved and fully restored if they are re-added later.

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.
  • All user data is retained and accessible again upon reactivation.
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.