Forum Discussion

Charline_74's avatar
Charline_74
Resolver I
1 year ago
Solved

API : Items - Update Notebook Definition

Does anyone know how to configure this API and make it work via a PowerShell script?
  • v-nmadadi-msft's avatar
    1 year ago

    Hi Charline_74  ,
    Thanks for reaching out to the Microsoft fabric community forum.

     If you want to send or retrieve data to a REST API using Powershell it can be done using Invoke-RestMethod cmdlet. This cmdlet sends HTTP requests using various HTTP methods to REST API endpoints.
    To learn more about Invoke-RestMethod please refer to this document: Invoke-RestMethod (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn

    Based on that information you can refer the update notebook definition document and try to run the mentioned HTTP request in powershell

    If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS.
    Thanks and Regards