PATCH /api/v1/onboarding
Route source: app/api/v1/onboarding/route.ts. Access: Portal session cookie; tenantContext. Status codes are read from the route implementation.
PATCH
/api/v1/onboardingZugang
Die Session-Variable in den Beispielen ist ein Platzhalter. Der Browser setzt das echte Sitzungscookie.
Anfrage
Anfrage-Body laut Handler: keiner.
Synthetisches curl-Beispiel
curl -i -X PATCH 'https://portal.rfi-irfos.com/api/v1/onboarding' \
-H "Cookie: $PORTAL_SESSION_COOKIE" \
-H 'Content-Type: application/json' \
--data-binary @request.jsonAntwort
Der Handler liefert JSON. Die Antwortfelder sind im verlinkten Routencode definiert.
200 401 403 503
Die referenzierte Quelldatei enthält die maßgebliche Feldvalidierung und Antwortstruktur.
Fehlercodes
401· Sitzung oder Zugangsdaten fehlen oder sind ungültig403· Rolle oder Zugriffsumfang reicht nicht aus503· Dienst oder Datenbank ist nicht verfügbar
Beleg im Code
app/api/v1/onboarding/route