Alerts

Change the project's alert rules, quiet hours or text messages (notifications:write)

put/projects/{projectId}/alerts

Request

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

Path parameters

projectIdstring uuid required

Request body

smsboolean

Response

Saved

projectIdstring uuid required
smsboolean required

text messages to the team's verified numbers

isDefaultboolean required

nothing was changed yet: the defaults apply

updatedAtstring nullable required

ISO-8601 timestamp

errorRateAvailableboolean required

error answers reach the platform's request log (the error-rate alert can fire)

Changes

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