---
title: "Suspend an organization"
method: POST
path: "/api/v1/admin/organizations/{organizationId}/suspend"
tags: ["Organization Admin"]
---

# Suspend an organization

`POST /api/v1/admin/organizations/{organizationId}/suspend`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/admin/organizations/{organizationId}/suspend`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Platform-Admin-Token`

Stops the organization changing anything — ingest included — until it is reinstated. Reads keep working, so the tenant can sign in and be shown why. Independent of billing status, so a payment does not lift it. A signed-in platform admin's own address is recorded as suspendedBy.

## Path parameters

- `organizationId` string, uuid, required

## Request body

- SuspendOrganizationRequest
  - `reason` string, required
  - `suspendedBy` string

## Response `200`

Suspended

## Other responses

- `400`: No reason given — the tenant is shown it
- `403`: Forbidden — requires the platform admin
- `404`: No such organization

---

[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)
