DELETE /api/v1/members
Route source: app/api/v1/members/route.ts. Access: Portal session cookie; tenantContext. Status codes are read from the route implementation.
DELETE
/api/v1/membersAccess
The session variable in examples is a placeholder. The browser supplies the real session cookie.
Request
| Path | Route details |
|---|---|
query · limit | optional · {"type":"string"} |
query · memberCursor | optional · {"type":"string"} |
query · inviteCursor | optional · {"type":"string"} |
Request body in the handler contract: none.
Synthetic curl example
curl -i -X DELETE 'https://portal.rfi-irfos.com/api/v1/members' \
-H "Cookie: $PORTAL_SESSION_COOKIE"Response
The handler returns JSON. Response fields are defined in the linked route source.
200 400 401 403 404 422 503
The linked source file contains the authoritative field validation and response structure.
Error codes
400· Request or input validation failed401· Session or credentials are missing or invalid403· Role or access scope is insufficient404· Resource or route is unavailable422· Route error; details are in the handler.503· Service or database is unavailable
Code evidence
app/api/v1/members/route