PATCH /api/v1/compliance/evidence-requests
Route source: app/api/v1/compliance/evidence-requests/route.ts. Access: Portal session cookie; tenantContext. Status codes are read from the route implementation.
PATCH
/api/v1/compliance/evidence-requestsAccess
The session variable in examples is a placeholder. The browser supplies the real session cookie.
Request
JSON body follows validation in route source
| Path | Route details |
|---|---|
query · history | optional · {"type":"string"} |
query · product | optional · {"type":"string"} |
query · framework | optional · {"type":"string"} |
The accepted fields and validation are implemented in app/api/v1/compliance/evidence-requests/route.ts; parsed by updateSchema.
Synthetic curl example
curl -i -X PATCH 'https://portal.rfi-irfos.com/api/v1/compliance/evidence-requests' \
-H "Cookie: $PORTAL_SESSION_COOKIE" \
-H 'Content-Type: application/json' \
--data-binary @request.jsonResponse
The handler returns JSON. Response fields are defined in the linked route source.
200 400 401 403 404 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 unavailable503· Service or database is unavailable
Code evidence
app/api/v1/compliance/evidence-requests/route