API REST Power BI Post Method

Hello,

I am new on PowerShell and I don’t understand how to run this command, can you help me ?

POST https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/Default.UpdateParameters
{
  "updateDetails": [
    {
      "name": "DatabaseName",
      "newValue": "NewDB"
    },
    {
      "name": "MaxId",
      "newValue": "5678"
    }
  ]
}

The goal is to update Dataset Parameters.

Thanks in advance,

Charline

you could look at the examples and documentation on Invoke-RestMethod (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Docs

2 Likes