Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Is it possible to cancel a data pipeline in fabric using a REST API.
i have used the following REST API to get the specific pipeline i want: GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/dataPipelines/{dataPipelineId}
I want to be able to cancel that pipeline when its running via another pipeline
Hi @Chamoun93 ,
Thank you for reaching out to the Microsoft Community Forum.
Microsoft Fabric does not provide a dedicated REST API endpoint to cancel a running data pipeline instance directly.
You can Do via REST API by Delete a pipeline.
1. You can use the following endpoint to delete a pipeline.
DELETE https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/dataPipelines/{dataPipelineId}
Note: This requires appropriate permissions (DataPipeline.ReadWrite.All or Item.ReadWrite.All).
2. Run and monitor pipelines, you can trigger pipeline runs and monitor their status using job instance APIs.
If you need to cancel a pipeline from another pipeline, try below options.
1.Implement logic in your pipelines to check for external flags or conditions that can gracefully stop execution.
2. If you are using external tools like Azure Logic Apps or Power Automate, you might be able to manage pipeline execution more flexible.
Please try below Microsoft articles and community thread.
Solved: Re: Run from API - Microsoft Fabric Community
Items - Delete Data Pipeline - REST API (DataPipeline) | Microsoft Learn
REST API capabilities for Fabric Data Factory - Microsoft Fabric | Microsoft Learn
I hope this information helps. Please do let us know if you have any further queries.
Regards,
Dinesh
Thank you for the answer @v-dineshya
I had a feeling that it was not possible at this moment.
Hopefully Microsoft will expose Monitor data in fabric via APIs, so you can programmatically manage pipeline and notebook sessions.
Regards,
Christoffer
Hi @Chamoun93 ,
Thank you for the update. At present it is not possible to cancel a data pipeline in fabric using a REST API. We would recommend submitting your detailed feedback and ideas through Microsoft's official feedback channels, such as Microsoft Fabric Ideas. Feedback submitted through these channels is frequently reviewed by the product teams and can contribute to meaningful improvements.
https://ideas.fabric.microsoft.com/ideas/search-ideas/
Thank you for being a valued member in Microsoft Fabric Community Forum
Regards,
Dinesh
HI @Chamoun93 ,
Could you please confirm if you've submitted this as an idea in the Ideas Forum? If so, sharing the link here would be helpful for other community members who may have similar feedback. Thank you for being part of the Microsoft Fabric Community.
Regards,
Dinesh
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Fabric update to learn about new features.