---
title: "Suspend member"
method: POST
path: "/api/v1/orgs/{orgId}/members/{userId}/suspend"
tags: ["Organizations"]
---

# Suspend member

`POST /api/v1/orgs/{orgId}/members/{userId}/suspend`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/orgs/{orgId}/members/{userId}/suspend`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Suspends a member: the membership and its role are kept, the member is refused access, and their current sessions end immediately

## Path parameters

- `orgId` string, uuid, required
- `userId` string, uuid, required

## Response `200`

Member suspended

---

[API](https://skmtc.dev/railhook/apis/railhook-api.md) · [All operations](https://skmtc.dev/railhook/apis/railhook-api/llms.txt) · [OpenAPI document](https://skmtc.dev/railhook/apis/railhook-api/revisions/4e2c76dfc33d?raw)
