Control Plane API
Base URL: https://api.control.nexonsolutions.be
Framework: FastAPI (Python 3.12)
Authenticatie: Keycloak JWT Bearer token
Authenticatie
Voeg een Authorization: Bearer <token> header toe aan elk request. Het token krijg je via de OIDC flow.
Endpoints
Tenants
| Method | Path | Beschrijving |
|---|---|---|
GET | /api/v1/tenants | Alle tenants ophalen |
POST | /api/v1/tenants | Nieuwe tenant aanmaken |
GET | /api/v1/tenants/{id} | Tenant details |
PATCH | /api/v1/tenants/{id} | Tenant bijwerken |
DELETE | /api/v1/tenants/{id} | Tenant verwijderen |
Publieke gebruikers
| Method | Path | Beschrijving |
|---|---|---|
GET | /api/v1/public-users | Alle publieke gebruikers |
PATCH | /api/v1/public-users/{id}/status | Status wijzigen |
DELETE | /api/v1/public-users/{id} | Gebruiker verwijderen |
Query parameters (GET /public-users)
| Parameter | Type | Beschrijving |
|---|---|---|
page | int | Paginanummer (default: 1) |
limit | int | Resultaten per pagina (default: 50) |
search | string | Filter op naam of e-mail |
Automatische docs
FastAPI genereert automatisch interactieve API-docs:
- Swagger UI:
https://api.control.nexonsolutions.be/docs - ReDoc:
https://api.control.nexonsolutions.be/redoc