Delete NotificationPreference

delete

/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences/{preferenceId}

Attempts to delete a Notification preference

Request

Path Parameters
Query Parameters
  • The auditing agency to record for this delete. Possible values are `CUSTOMER`, `OTHER`, and `UNKNOWN`.
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

The notification preference was deleted successfully.
Body ()
Root Schema : NotificationPreference
Type: object
Show Source
Nested Schema : response
Match All
Show Source
Nested Schema : NotificationPreferenceRequest
Type: object
Show Source
Example:
{
    "notificationChannel":"EMAIL",
    "eventType":"HOME_ENERGY"
}
Nested Schema : response-allOf[1]
Type: object
Show Source
Example:
{
    "id":1,
    "notificationChannel":"EMAIL",
    "eventType":"HOME_ENERGY"
}

400 Response

An error occurred processing the request. See the response body for more information.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

401 Response

An error occurred processing the request. See the response body for more information.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source

404 Response

An error occurred processing the request. See the response body for more information.
Body ()
Root Schema : ErrorResponse
Type: object
Show Source
Back to Top