- API >
- API Resources >
- Alert Configurations
Alert Configurations¶
Note
Groups and projects are synonymous terms. Your {GROUP-ID}
is the
same as your project ID. For existing groups, your group/project ID
remains the same. The resource and corresponding endpoints use the
term groups
.
Base URL: https://cloud.mongodb.com/api/atlas/v1.0
Endpoints¶
The following lists the endpoints available for alert configuration. An alert configuration defines the conditions that trigger an alert and the methods of notification.
Method | Endpoint | Description |
---|---|---|
GET |
/api/atlas/v1.0/groups/{GROUP-ID}/alertConfigs | Get all alert configurations for the project associated to
{GROUP-ID} . |
POST |
/api/atlas/v1.0/groups/{GROUP-ID}/alertConfigs | Create an alert configuration for the project associated to
{GROUP-ID} . |
GET |
/api/atlas/v1.0/groups/{GROUP-ID}/alertConfigs/{ALERT-CONFIG-ID} | Get the alert configuration specified to {ALERT-CONFIG-ID}
for the project associated to {GROUP-ID} . |
PUT |
/api/atlas/v1.0/groups/{GROUP-ID}/alertConfigs/{ALERT-CONFIG-ID} | Update the alert configuration specified to {ALERT-CONFIG-ID}
for the project associated to {GROUP-ID} . |
PATCH |
/api/atlas/v1.0/groups/{GROUP-ID}/alertConfigs/{ALERT-CONFIG-ID} | Enable/disable the alert configuration specified to
{ALERT-CONFIG-ID} for the project associated to {GROUP-ID} . |
DELETE |
/api/atlas/v1.0/groups/{GROUP-ID}/alertConfigs/{ALERT-CONFIG-ID} | Delete the alert configuration specified to
{ALERT-CONFIG-ID} for the project associated to
{GROUP-ID} . |
GET |
/api/atlas/v1.0/groups/{GROUP-ID}/alertConfigs/{ALERT-CONFIG-ID}/alerts | Get all open alerts for the alert configuration
specified to {ALERT-CONFIG-ID} for the project associated
to {GROUP-ID} . |