# Partially update a Listening alert.

Endpoint: PATCH /listening/alert
Version: 3.0.0
Security: bearerAuth, apiKeyAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer Token

  - `apiKeyAuth` (unknown)
    apiKey in header Key

## Query parameters:

  - `id` (string)
    Alert id

## Request fields (application/json):

  - `name` (string)
    Alert name

  - `category` (string)
    Alert category

  - `module` (string)
    Alert module

  - `filterDimensions` (array)
    Dimension filters

  - `filterDimensions.dimensionName` (string)

  - `filterDimensions.filterType` (string)

  - `filterDimensions.values` (array)

  - `filterDimensions.details` (object)

  - `tags` (array)
    Tags

  - `enabled` (boolean)
    Enable or disable the alert

  - `distributionConfig` (object)
    Distribution configuration

  - `distributionConfig.userIds` (array)
    List of sprinklr user IDs to distribute alerts to

  - `distributionConfig.userGroupIds` (array)
    List of sprinklr user group IDs to distribute alerts to

  - `distributionConfig.emailIds` (array)
    List of external email addresses to send alert notifications to

  - `distributionConfig.sendEmailNotification` (boolean)
    Flag to enable/disable email notifications for alerts

  - `distributionConfig.customEmailSubject` (string)
    Custom subject line for email notifications

  - `distributionConfig.senderAlias` (string)
    Custom sender name/alias for notifications

  - `smartAlertConfig` (object)
    Smart alert configuration

  - `smartAlertConfig.smartAlertMetrics` (array, required)
    Smart Alert Metrics

  - `smartAlertConfig.suddenAnomalyEnabled` (boolean)

  - `smartAlertConfig.longTermTrendsEnabled` (boolean)

## Response 200:

  - `200` (unknown)
    Success

## Response 400:

  - `400` (unknown)
    Bad request

## Response 400 fields (application/json):

  - `data` (object)

  - `errors` (array)

  - `errors.id` (string, required)
    24-character hex ObjectId

  - `errors.code` (integer, required)

  - `errors.message` (string, required)
    Dotted error key (e.g. account.not.found)

  - `metadata` (object)

## Response 401:

  - `401` (unknown)
    Missing or invalid authentication

## Response 401 fields (application/json):

  - `data` (object)

  - `errors` (array)

  - `errors.id` (string, required)
    24-character hex ObjectId

  - `errors.code` (integer, required)

  - `errors.message` (string, required)
    Dotted error key (e.g. account.not.found)

  - `metadata` (object)

## Response 403:

  - `403` (unknown)
    Insufficient permissions

## Response 403 fields (application/json):

  - `data` (object)

  - `errors` (array)

  - `errors.id` (string, required)
    24-character hex ObjectId

  - `errors.code` (integer, required)

  - `errors.message` (string, required)
    Dotted error key (e.g. account.not.found)

  - `metadata` (object)

## Response 404:

  - `404` (unknown)
    Resource not found

## Response 404 fields (application/json):

  - `data` (object)

  - `errors` (array)

  - `errors.id` (string, required)
    24-character hex ObjectId

  - `errors.code` (integer, required)

  - `errors.message` (string, required)
    Dotted error key (e.g. account.not.found)

  - `metadata` (object)

