Skip to content

GET /api/v1/admin/orgs/:slug/blocklist

This page is auto-generated from src/admin/routes.ts. Do not edit by hand — see docs/dev/docs-auto-sync.md.

:warning: Heuristic extraction — not a contract. Response shapes below are mined from c.json(...) literals in the handler via an AST walker. Computed fields, ternaries, and non-literal returns are shown as placeholders. Refer to the linked source file for the authoritative behaviour.

Requires the following capability(ies):

  • policy:r

Other middleware observed on this route (heuristic):

  • requireCapability

--- Custom blocklist ------------------------------------------------------- GET /api/v1/admin/orgs/:slug/blocklist — list this org’s custom rows. Does not include the global blocklist (tenant_id IS NULL); use the global-blocklist sync job for those. #336 — gated on policy:r.

{
"error": "Org not found"
}
{
"org": <slug>,
"count": <member-expr>,
"entries": <rows>
}
  • File: src/admin/routes.ts
  • Line: 5923