---
title: "The organizations on a server, largest first (what a drain has to move)"
method: GET
path: "/operator/servers/{serverId}/organizations"
tags: ["Operator"]
---

# The organizations on a server, largest first (what a drain has to move)

`GET /operator/servers/{serverId}/organizations`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/operator/servers/{serverId}/organizations`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Path parameters

- `serverId` string, uuid, required

## Query parameters

- `limit` integer

## Response `200`

Organizations

- object
  - `serverId` string, uuid, required
  - `total` integer, required
  - `items` object[], required
    - `organizationId` string, uuid, required
    - `name` string, required
    - `suspended` boolean, required
    - `projects` integer, required
    - `databases` integer, required
    - `cpus` number, required
    - `memoryMb` number, required
    - `boundAt` string, required: ISO-8601 timestamp

## Other responses

- `400`: Invalid request (code invalid_request)
- `403`: A change on an operator-console session older than 5 minutes (details.reauthenticate), or not an operator
- `404`: Not found; also the answer to any request without a live operator-console session
- `409`: Conflict (already listed, not ready for customers, still in use, the main server)
- `429`: Too many requests (code rate_limited)
- `501`: Not available on this server (code not_configured)
- `503`: The hosting engine did not answer (code provider_unavailable)

---

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