public-api
public-alerts

Create alert destination

Create a new alert destination.

SDK Usage:

from anomalyarmor import Client

client = Client()
dest = client.alerts.create_destination(
    name="Slack #alerts",
    destination_type="slack",
    config={"webhook_url": "https://hooks.slack.com/..."}
)
post/api/v1/sdk/alerts/destinations

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/sdk/alerts/destinations
  • Auth: none declared

Headers

Authorizationstring

Request body

namestring required

Destination name

destination_typestring required

Type: email, slack, webhook, etc.

configobject required

Configuration for the destination

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

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