Skip to Content
OpenPerf

Alert rules

Subscribe to an alert rule

PUT
/api/v1/alert-rules/{id}/subscription

Subscribes the signed-in user to email notifications from an alert rule.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Path Parameters

id*string

Response Body

application/json
  1. response
subscribed*boolean
Example Request
curl -X PUT 'https://api.example.com/api/v1/alert-rules/string/subscription'
Example Response
{
  "subscribed": true
}