Reports - Update Report Content In Group

Updates the specified report from the specified workspace to have the same content as the specified report in the request body.

Required scope: Report.ReadWrite.All
To set the permissions scope, see Register an app.

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/UpdateReportContent

URI Parameters

Name In Required Type Description
groupId
path True
  • string
uuid

The workspace id

reportId
path True
  • string
uuid

The report id

Request Body

Name Required Type Description
sourceReport True

Source from existing report

sourceType True

The source type for the content update.

Responses

Name Type Description
200 OK

OK

Examples

example

Sample Request

POST https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/reports/5b218778-e7a5-4d73-8187-f10824047715/UpdateReportContent
{
  "sourceReport": {
    "sourceReportId": "8e4d5880-81d6-4804-ab97-054665050799",
    "sourceWorkspaceId": "2f42a406-a075-4a15-bbf2-97ef958c94cb"
  },
  "sourceType": "ExistingReport"
}

Sample Response

Definitions

Report

A Power BI report

SourceReport

Source from existing report

sourceType

The source type for the content update.

UpdateReportContentRequest

Power BI update report content request

Report

A Power BI report

Name Type Description
datasetId
  • string

The dataset id

embedUrl
  • string

The report embed url

id
  • string

The report id

name
  • string

The report name

webUrl
  • string

The report web url

SourceReport

Source from existing report

Name Type Description
sourceReportId
  • string

source report id

sourceWorkspaceId
  • string

source worksapce id

sourceType

The source type for the content update.

Name Type Description
ExistingReport
  • string

Use an existing report as a source for updating the content of a target report.

UpdateReportContentRequest

Power BI update report content request

Name Type Description
sourceReport

Source from existing report

sourceType

The source type for the content update.