API Reference · Alerting · Alert sources
Delete alert source
Mutation
deleteAlertSourceDeletes an alert source. Sources whose isDeletable is false can't be deleted.
deleteAlertSource(
organizationId: ID!
alertSourceId: ID!
): Boolean!Arguments
Field
Type
Returns
Boolean!
Example
mutation DeleteAlertSource($organizationId: ID!, $alertSourceId: ID!) {
deleteAlertSource(organizationId: $organizationId, alertSourceId: $alertSourceId)
}Example response
{
"data": {
"deleteAlertSource": true
}
}