Public
1 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
Check whether a tenant slug exists#
GET
/public/tenant-exists/{slug}ÖffentlichUnauthenticated, idempotent, edge-cacheable. Returns 200 with { exists: true, slug } or 404 with { exists: false }. Used by middleware / CDN to short-circuit invalid subdomains. Format-invalid slugs (wrong regex / wrong length) return 404 without a DB lookup.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
slugPflicht | Pfad | string | – |
Antworten
- 200Slug exists
- 404Slug does not exist
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/public/tenant-exists/{slug}"