Alert
Update
Changed onUpdate an existing Alert record by ID.
put/api/cp/alert/{id}
Request
- Base URLhttps://app.connexcs.com
- Auth
- OAuth 2Authorization code: https://auth.connexcs.com/authorizeToken URL: https://auth.connexcs.com/token
- or HTTP bearer
Path parameters
idinteger required
Id identifier
Request body
Example request
{
"id": 12345,
"company_id": 1,
"title": "Example Name",
"area": "example_area",
"operator": "<",
"threshold": 99.99,
"reset_threshold": 99.99,
"sample_period": 123,
"recipient": "example_recipient",
"template": "example_template",
"state": "Paused",
"penalty": 123,
"reset_timeout": "2025-01-17T10:30:00Z",
"cron": "example_cron",
"sandbox_id": 1,
"last_ran": "2025-01-17T10:30:00Z",
"next_run": "2025-01-17T10:30:00Z",
"tag": "example_tag",
"notice_level": "none",
"table_change": "example_table_change",
"query": "Sample query text content"
}Response
Operation completed successfully
Example response
{
"status": "OK"
}Changes
- info
the endpoint scheme security
oAuth2was added to the API - info
the endpoint scheme security
opaqueTokenwas added to the API - info
the endpoint scheme security
basicAuthwas removed from the API
- info