Skip to main content
Version: 1.0.0

Administration Clients API

Admin API for managing platform clients and their operational status.

Each client record represents a (clientId, brandId) tenant pair, addressed externally by its URL-friendly slug. The slug is the shared identifier used across all admin APIs (/v1/admin/clients/{slug}/policies, /v1/admin/clients/{slug}/products, etc.) — admins never need to handle raw UUIDs.

Status lifecycle

StatusMeaning
ACTIVETenant is fully operational
SUSPENDEDTenant access temporarily restricted
INACTIVETenant decommissioned

Both clientStatus and brandStatus follow the same enum. Changes to either affect platform routing and access decisions for that tenant.

Authentication: ADMIN role required (OAuth2 client-credentials, ADMIN scope).

Error envelope: { errorCode, message, timestamp, traceId } where errorCode follows the pattern {DOMAIN}{CLASSIFICATION}{SEQUENCE}.

Authentication

Security Scheme Type: oauth2
OAuth Flow (clientCredentials): Scopes:
  • ADMIN: Access to admin functionality