Edge rules

Update headers/force-HTTPS/redirects/rewrites; `redirects` and `rewrites` (when present) replace the full list, like environment variables

patch/projects/{projectId}/edge-rules

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/projects/{projectId}/edge-rules
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

projectIdstring uuid required

Request body

forceHttpsboolean
vercelRuntimeboolean

true: /_vercel/insights and /_vercel/speed-insights are answered by the platform (Vercel Analytics scripts)

Response

Updated

projectIdstring uuid required
forceHttpsboolean required
vercelRuntimeboolean
updatedAtstring nullable required

ISO-8601 timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.