remove_user_seat
Remove a user from a seat and optionally from the seat offering to permanently revoke access. Confirm the removal first—use update or unenroll tools for reversible access changes.
Instructions
🔴 DESTRUCTIVE · deletes · DELETE /v2/seats/{id}/users/{uid}
Remove a user from a seat and optionally from the seat offering.
Behavior: permanently removes the addressed record from the live school — no undo from this server. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx.
Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one).
Returns: HTTP 200/204, with a body that is usually empty on success. A non-2xx reply surfaces as a tool error with that status and the API error payload — 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input.
Use when: only after the user confirms the removal. To merely revoke access or deactivate, use the matching 🟡 update or unenroll tool instead. Related Multiple seats tools: add_user_seat_offering, get_users_seat_offering, delete_seat_offering, get_specific_seat_offering, update_seat_offering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier of the seat offering. | |
| uid | Yes | User Id or email (encoded string) | |
| body | No | Request body (application/json). |