Alert Policies
Update an alert policy
Update an alert policy by ID
POST
/
{product}
/
alert-policies
/
{alertPolicyId}
Please be aware that the Phare API is currently in beta and is subject to change.
Authorizations
Authorization
string
headerrequiredUse a user token to access authenticated routes. The token must be specified in the Authorization HTTP header with the following format 'Authorization: Bearer <token>'.
Path Parameters
product
enum<string>
requiredThe Phare product
Available options:
uptime
alertPolicyId
integer
requiredID of the alert policy to update
Body
application/json
project_id
number | null
requiredRestrict the use to a single project ID
name
string
requiredMonitor name
Response
200 - application/json
project_id
number | null
requiredRestrict the use to a single project ID
name
string
requiredMonitor name
id
number
product
enum<string>
Phare product that can use the alert policy
Available options:
uptime
created_at
string
Date of creation for the entity
updated_at
string
Date of last update for the entity
Was this page helpful?