Skip to main content
PUT
/
v1
/
config
/
presetalert
/
{presetId}
Update Alert
curl --request PUT \
  --url https://api.mezmo.com/v1/config/presetalert/{presetId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "channels": [
    {
      "integration": "<string>",
      "emails": [
        "<string>"
      ],
      "url": "<string>",
      "key": "<string>",
      "triggerlimit": "<string>",
      "triggerinterval": "<string>",
      "immediate": true,
      "terminal": true,
      "operator": "<string>",
      "timezone": "America/Chicago, EST, Etc/UTC, etc...",
      "headers": {
        "timestamp": "<string>"
      },
      "bodyTemplate": {
        "timestamp": "<string>"
      },
      "autoresolve": true,
      "autoresolveinterval": "<string>",
      "autoresolvelimit": "<string>"
    }
  ]
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://mezmo-9a59581a-mintlify-926f893d.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

This key is used for all apis with the exception of ingest. You can obtain it following these instructions and placing the key in the header of your call in the format of Authorization: Token {accesstoken} For example:

curl -H 'Authorization: Token <ACCESS TOKEN>'

Path Parameters

presetId
string
required

ID of a preset alert.

Body

application/json

Request parameters

name
string

Name of a view.

channels
object[]

Response

OK

{key}
object