rest
Send raw REST requests to the Fabric API (like az rest)
Authentication scope: fabric
Send a raw REST request to the Fabric or Power BI API
fabio rest call --method <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--method |
enum |
Yes | HTTP method (get, post, put, patch, delete) One of: get, post, put, patch, delete. |
--path |
string |
Yes | API path relative to base URL (e.g., /workspaces or /groups/{ws}/datasets/{id}/refreshes) |
--body |
string |
No | Request body (JSON string, @file path, or @- for stdin) |
--query-params |
string |
No | Additional query parameters (appended to URL, e.g., “beta=true&format=json”) |
--poll |
bool |
No | Use LRO polling for the response (for async operations) |
--api |
enum |
No | Target API (fabric or powerbi) One of: fabric, powerbi. Default: fabric. |
Examples
fabio rest call --method get --path /workspacesfabio rest call --method get --path /groups/{ws}/datasets --api powerbifabio rest call --method post --path /groups/{ws}/datasets/{id}/refreshes --api powerbi --body '{}'fabio rest call --method post --path /workspaces/{ws}/items/{id}/getDefinition --pollMutates state · Returns object
