---
schema_version: "1"
id: 1234e011b0011d4c6183e49a0f90746a7c93cbd4b9014e1952995bda3cfb275d
title: Save Changes to Reports
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/api_analytics/guides/examples/reports/sforce-analytics-rest-api-save-report.md
canonical_url: https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/sforce-analytics-rest-api-save-report.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a90a2ed3e96c7c8d9a8eb130d0eee8bd9739b8d630b5182450156355fa3dca52
products:
  - Salesforce Reports and Dashboards REST API Developer Guide
  - analytics
---

# Save Changes to Reports

Save changes to a report by sending a PATCH request to the Report resource.

**note:** Saving a report deletes any running async report jobs because they will be obsolete.

## Example

For report 00OD0000001cxIE, you want to change the report name to “myUpdatedReport” and change the folder that contains the report. You save the changes to the report.

This PATCH request `/services/data/v34.0/analytics/reports/00OD0000001cxIE` to the Report resource updates and saves the report.

```nolang
{
   "reportMetadata" : {
      "name":"myUpdatedReport",
      "folderId":"00DD00000007enH"}
}
```

The response to the PATCH request returns the following details about the updated, saved report.

```nolang
{ 
   "reportExtendedMetadata" : { 
      ... 
   },
   "reportMetadata" : { 
      "aggregates" : [ "RowCount" ], 
      "chart" : null,
      "currency" : null,
      "description" : null,
      "detailColumns" : [ 
         "USERS.NAME", 
         "ACCOUNT.NAME", 
         "TYPE", 
         "DUE_DATE",
         "LAST_UPDATE", 
         "ADDRESS1_STATE" ], 
      "developerName" : "myreport", 
      "division" : null,
      "folderId" : "00DD00000007enHMAQ", 
      "groupingsAcross" : [ ], 
      "groupingsDown" : [ ], 
      "hasDetailRows" : true, 
      "hasRecordCount" : true, 
      "historicalSnapshotDates" : [ ],
      "id" : "00OD0000001cxIEMAY", 
      "name" : "myUpdatedReport",
      "reportBooleanFilter" : null, 
      "reportFilters" : [ ], 
      "reportFormat" : "TABULAR",
      "reportType" : { 
         "label" : "Accounts", 
         "type" : "AccountList" }, 
      "scope" : "user", 
      "showGrandTotal" : true,     
      "showSubtotals" : true,
      "sortBy" : [ ], 
      "standardDateFilter" : { 
         "column" : "CREATED_DATE",
         "durationValue" : "CUSTOM", 
         "endDate" : null, 
         "startDate" : null },
      "standardFilters" : null }, 
   "reportTypeMetadata" : {
      ... 
   }
}
```

