Update a report
Updates the specified report. Requires an If-Match or If-Unmodified-Since request header. See Conditional Operations.
1{2 "id": "f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",3 "name": "Sample Report",4 "description": "Description of a sample report.",5 "creationTimeStamp": "2025-06-19T10:15:30Z",6 "label": "my label",7 "level": "standard",8 "properties": [9 "prop1",10 "prop2"11 ],12 "resourceUri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",13 "sasType": "report",14 "schema": "schema1",15 "mediaType": 1,16 "createdBy": "user1",17 "reportModifiedTimeStamp": "2025-06-19T11:45:00Z",18 "modifiedBy": "user1",19 "links": [20 {21 "method": "GET",22 "rel": "self",23 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",24 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",25 "type": "application/vnd.sas.report"26 },27 {28 "method": "GET",29 "rel": "alternate",30 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",31 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",32 "type": "application/vnd.sas.summary"33 },34 {35 "method": "PUT",36 "rel": "update",37 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",38 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",39 "type": "application/vnd.sas.report",40 "responseType": "application/vnd.sas.report"41 },42 {43 "method": "PUT",44 "rel": "updateContent",45 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf/content",46 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf/content",47 "type": "application/vnd.sas.report.content",48 "responseType": "application/vnd.sas.report.content"49 }50 ],51 "imageUris": {52 "icon": "/reports/icons/report.gif"53 },54 "version": 155}
| Name | Type | Required | Description |
|---|---|---|---|
reportId | string<object-id> | true | Report id for this operation. |
| Name | Type | Required | Description |
|---|---|---|---|
If-Match | string | false | The |
If-Unmodified-Since | string | false | The value of the |
Report to update. A full report can be included, but only id, name, and description are used to update the report.
The representation of a report. This representation is version 1. Optional version=1 parameter is the only one that can be included.
| Name | Type | Required | Description |
|---|---|---|---|
id | string<object-id> | false | Report id. |
name | string | false | The localizable report name. |
description | string | false | The localizable report description. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | Report was updated. | Headers | Schema |
| 400 | Bad Request | The input report was not valid. | Schema | |
| 404 | Not Found | Report does not exist. | Schema | |
| 412 | Precondition Failed | The | Schema | |
| 428 | Precondition Required | The | Schema |