@Dmitriy Schurov Thanks for reaching out. In case if you are looking for REST API to enable/disabled the standard logic app workflow.
To Get all the Configuration for your standard logic app:
POST
https://management.azure.com/subscriptions/{subscription ID}/resourceGroups/{resource groupname}/providers/Microsoft.Web/sites/{logic app name}/config/appsettings/list?api-version=2018-11-01
Once you have the response from the above REST API you need to add/update the properties
object with Workflows.{yourworkflowName}.FlowState with Enabled
or Disabled
value
with the below request. I have removed sensitive properties from the example below but you need to send the same properties along with the updating or adding the Workflows.{yourworkflowName}.FlowState
Update the Configuration:
PUT
https://management.azure.com/subscriptions/{subscription ID}/resourceGroups/{resource groupname}/providers/Microsoft.Web/sites/{logic app name}/config/appsettings?api-version=2018-11-01
Example: **
{"id":"yourid","name":"appsettings","type":"Microsoft.Web/sites/config","location":"West US","properties":{"FUNCTIONS_EXTENSION_VERSION":"~3","FUNCTIONS_WORKER_RUNTIME":"node","WEBSITE_NODE_DEFAULT_VERSION":"~14","**Workflows.sbtest.FlowState":"Enabled","Workflows.tets.FlowState":"Disabled"}}
Feel free to get back to me if you need any assistance.