Edge rules

Set the project's per-IP rate-limit profile; applied to the running app (restart, no rebuild) when the platform has it switched on

put/projects/{projectId}/rate-limit

Request

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

Path parameters

projectIdstring uuid required

Request body

mode'off' | 'default' | 'strict' required

off: no limit; default: the platform's generous per-IP limit; strict: a much lower one

Response

Updated

projectIdstring uuid required
mode'off' | 'default' | 'strict' required

off: no limit; default: the platform's generous per-IP limit; strict: a much lower one

availableboolean required
supportedboolean required
updatedAtstring nullable required

ISO-8601 timestamp

Changes

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