---
title: "Remove Portal User"
method: DELETE
path: "/api/admin/portal-users/{user_id}"
tags: ["portal-admin"]
---

# Remove Portal User

`DELETE /api/admin/portal-users/{user_id}`

Revoke a member's dashboard access. Deletes their portal_users row; the
revocation check in get_current_customer kills any active session on their
next request. Also invalidates their outstanding sign-in links. Removing the
last member is allowed — the company simply has no portal access until re-added.

## Path parameters

- `user_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/riskcube/apis/slack-lead-manager.md) · [All operations](https://skmtc.dev/riskcube/apis/slack-lead-manager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/riskcube/slack-lead-manager/revisions/4442bbae8296/schema)
