Create a gateway
Creates a new gateway. Ownership tenant_id is required (JWT claim, or body for platform admins). The slug is optional: when omitted the server generates a unique random slug. If provided it must be a lowercase DNS label and unique. Platform JWT create requires stamped entitlements (tier + caps); tenant JWTs must omit entitlements (422 if sent). With RATE_LIMIT_ENABLED, create returns 409 when the tenant is already at MaxInstances for the effective tier.
Authorizations
Body
Gateway to create
Entitlements is required for platform (empty JWT tenant) create and must include full stamped caps. Tenant callers must omit it (422 if sent). When a tenant omits it, the gateway defaults to free or inherits the highest sibling tier.
Slug is optional; when omitted the server generates a unique random slug. If provided it must be a lowercase DNS label.
"acme-prod"
TenantID is required ownership for platform (empty JWT) create-for-tenant; tenant JWTs may match or omit it (JWT wins).