Casinos
Tenants, and the API keys issued for them.
The API key scope vocabulary
Flat, not nested per casino — it is the same list for every one.
The casinos this operator can reach
**The one collection reachable without `X-Tenant-Id`.** It is what draws the
Register a casino
**Super-user only**, and it takes no `X-Tenant-Id`: the casino being created
Delete a casino
**Super-user only, and irreversible.** Every child row cascades: memberships,
One casino
**The id in the path must be the casino in `X-Tenant-Id`** — a mismatch is a
Rename or suspend a casino
Suspending makes every server-to-server request from that casino answer `403`
List a casino's API keys
**Never returns key material** — only the stored prefix, the scopes, the
Issue an API key
**The plaintext key is in this response and nowhere else, ever.** Only its
Revoke a key
Immediate — there is no cache to wait out.