Back

DELETE /api/v1/service-grants

Route source: app/api/v1/service-grants/route.ts. Access: Portal session cookie; tenantContext. Status codes are read from the route implementation.

DELETE/api/v1/service-grants

Access

The session variable in examples is a placeholder. The browser supplies the real session cookie.

Request

Request body in the handler contract: none.

Synthetic curl example
curl -i -X DELETE 'https://portal.rfi-irfos.com/api/v1/service-grants' \
  -H "Cookie: $PORTAL_SESSION_COOKIE"

Response

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 failed
  • 401 · Session or credentials are missing or invalid
  • 403 · Role or access scope is insufficient
  • 404 · Resource or route is unavailable
  • 503 · Service or database is unavailable

Code evidence

app/api/v1/service-grants/route

Local index↑ ↓ · Enter · Esc