Hi @Kumar, Arun
Thank you for using Microsoft Q&A platform and thanks for posting your question here.
Yes, you can stop and start Synapse pipeline triggers using a Synapse Pipeline. You can use the REST API to stop and start triggers. The API endpoint you are using is correct, but you need to provide the trigger name in the URL.
Here is an example of how to stop a trigger using the REST API:
POST {endpoint}/triggers/{triggerName}/stop?api-version=2020-12-01
To start a trigger, you can use the following API:
Make sure to replace the placeholders with the appropriate values for your Synapse workspace. Also, make sure that you have the appropriate permissions to stop and start triggers.
POST {endpoint}/triggers/{triggerName}/start?api-version=2020-12-01
Make sure to replace the placeholders with the appropriate values for your Synapse workspace. Also, make sure that you have the appropriate permissions to stop and start triggers.
For more information, refer this article: Start Trigger & Stop Trigger
Similar thread: To stop all the triggers Via API
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.