---
schema_version: "1"
id: 7045cb14c98a9d754a9263fcbc6759fcabdb737d3b3f4bd526d7ed94664bef8f
title: Save Changes to an Analytics Notification
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/api_analytics/guides/examples/notifications/analytics-api-notification-example-put-notifications.md
canonical_url: https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/analytics-api-notification-example-put-notifications.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 12bb175e6a160b49407f110229c83935cd4585520595c00eca65be01ec2c7071
products:
  - Salesforce Reports and Dashboards REST API Developer Guide
  - analytics
---

# Save Changes to an Analytics Notification

Save Changes to an Analytics Notification using a PUT request.

Use a PUT request on the [Analytics Notification](https://developer.salesforce.com/docs/analytics/reference/notifications/analytics-api-notifications-reference-notification.md) resource to save changes to an analytics notification.

## Example Usage

`/services/data/v38.0/analytics/notifications/analytics notification ID`

## Example Request Body

In this example, an analytics notification is changed so that it runs daily at 9:00 AM instead of 3:00 AM.

```nolang
{
  "active" : true,
  "createdDate" : "",
  "deactivateOnTrigger" : false,
  "id" : "0AuR00000004CZTKA2",
  "lastModifiedDate" : "",
  "name" : "New Notification",
  "recordId" : "00OR0000000PD55MAG",
  "schedule" : {
    "details" : {
      "time" : 9
    },
    "frequency" : "daily"
  },
  "source" : "lightningReportSubscribe",
  "thresholds" : [ {
    "actions" : [ {
      "configuration" : {
        "recipients" : [ ]
      },
      "type" : "sendEmail"
    } ],
    "conditions" : null,
    "type" : "always"
  } ]
}
```

## Example Response Body

The response body reflects the updated and saved analytics notifications.

```nolang
{
  "active" : true,
  "createdDate" : "2016-08-12T05:57:19Z",
  "deactivateOnTrigger" : false,
  "id" : "0AuR00000004CZTKA2",
  "lastModifiedDate" : "2016-08-12T06:12:24Z",
  "name" : "New Notification",
  "recordId" : "00OR0000000PD55MAG",
  "schedule" : {
    "details" : {
      "time" : 9
    },
    "frequency" : "daily"
  },
  "source" : "lightningReportSubscribe",
  "thresholds" : [ {
    "actions" : [ {
      "configuration" : {
        "recipients" : [ ]
      },
      "type" : "sendEmail"
    } ],
    "conditions" : null,
    "type" : "always"
  } ]
}
```

