User Management

Deactivate a workspace user

Changed on

Removes a user from the workspace by email. The user immediately loses access, but all their data (conversations, assistants, files, integrations) is preserved and restored if they are re-added later.

post/user-management/v1/deactivate-user

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/user-management/v1/deactivate-user
  • Auth
    HTTP bearer

Request body

emailstring email required

Email address of the user

Example request

{
  "email": "user@example.com"
}

Response

User deactivated successfully

status'success' required

Always "success" when the request is processed

messagestring required

Human-readable summary of the result

Example response

{
  "status": "success",
  "message": "User deactivated"
}

Changes