Azure Logic Apps Workflows API

The Workflows API from Azure Logic Apps — 12 operation(s) for workflows.

OpenAPI Specification

azure-logic-apps-workflows-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  description: REST API for Azure Logic Apps.
  title: LogicManagementClient IntegrationAccountAgreements Workflows API
  version: '2.0'
  x-apisguru-categories:
  - cloud
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png
  x-origin:
  - format: swagger
    url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/logic.json
  x-preferred: true
  x-providerName: azure.com
  x-serviceName: logic
  x-tags:
  - Azure
  - Microsoft
host: management.azure.com
schemes:
- https
consumes:
- application/json
produces:
- application/json
security:
- azure_auth:
  - user_impersonation
tags:
- name: Workflows
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Logic/workflows:
    get:
      description: Gets a list of workflows by subscription.
      operationId: Workflows_ListBySubscription
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - $ref: '#/parameters/api-version'
      - description: The number of items to be included in the result.
        format: int32
        in: query
        name: $top
        required: false
        type: integer
        example: example-value
      - description: 'The filter to apply on the operation. Options for filters include: State, Trigger, and ReferencedResourceId.'
        in: query
        name: $filter
        required: false
        type: string
        example: example-value
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/WorkflowListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        List all workflows in a subscription:
          parameters:
            api-version: '2019-05-01'
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
          responses:
            '200':
              body:
                value:
                - id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow
                  location: brazilsouth
                  name: test-workflow
                  properties:
                    accessControl: {}
                    accessEndpoint: http://tempuri.org
                    changedTime: '2018-08-09T22:54:54.3533634Z'
                    createdTime: '2018-04-25T01:39:21.4365247Z'
                    definition:
                      $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#
                      actions: {}
                      contentVersion: 1.0.0.0
                      outputs: {}
                      parameters: {}
                      triggers: {}
                    endpointsConfiguration:
                      connector:
                        outgoingIpAddresses:
                        - address: 40.84.145.61
                      workflow:
                        accessEndpointIpAddresses:
                        - address: 104.210.153.89
                        - address: 13.85.79.155
                        - address: 13.65.39.247
                        outgoingIpAddresses:
                        - address: 13.84.159.168
                        - address: 13.65.86.56
                        - address: 13.65.82.190
                    integrationAccount:
                      id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account
                      name: test-integration-account
                      type: Microsoft.Logic/integrationAccounts
                    parameters: {}
                    provisioningState: Succeeded
                    state: Enabled
                    version: 8586677515911718000
                  tags: {}
                  type: Microsoft.Logic/workflows
      x-ms-odata: '#/definitions/WorkflowFilter'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Azure Logic Apps Workflows_ List by Subscription
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/locations/{location}/workflows/{workflowName}/validate
  : post:
      description: Validates the workflow definition.
      operationId: Workflows_ValidateByLocation
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - description: The resource group name.
        in: path
        name: resourceGroupName
        required: true
        type: string
        example: my-resource-group
      - description: The workflow location.
        in: path
        name: location
        required: true
        type: string
        example: example-value
      - description: The workflow name.
        in: path
        name: workflowName
        required: true
        type: string
        example: example-value
      - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        Validate a workflow:
          parameters:
            api-version: '2019-05-01'
            location: brazilsouth
            resourceGroupName: test-resource-group
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
            validate:
              id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow
              location: brazilsouth
              name: test-workflow
              properties:
                definition:
                  $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#
                  actions: {}
                  contentVersion: 1.0.0.0
                  outputs: {}
                  parameters: {}
                  triggers: {}
                integrationAccount:
                  id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account
                  name: test-integration-account
                  type: Microsoft.Logic/integrationAccounts
              tags: {}
              type: Microsoft.Logic/workflows
            workflowName: test-workflow
          responses:
            '200': {}
      summary: Azure Logic Apps Workflows_ Validate by Location
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows:
    get:
      description: Gets a list of workflows by resource group.
      operationId: Workflows_ListByResourceGroup
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - description: The resource group name.
        in: path
        name: resourceGroupName
        required: true
        type: string
        example: my-resource-group
      - $ref: '#/parameters/api-version'
      - description: The number of items to be included in the result.
        format: int32
        in: query
        name: $top
        required: false
        type: integer
        example: example-value
      - description: 'The filter to apply on the operation. Options for filters include: State, Trigger, and ReferencedResourceId.'
        in: query
        name: $filter
        required: false
        type: string
        example: example-value
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/WorkflowListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        List all workflows in a resource group:
          parameters:
            api-version: '2019-05-01'
            resourceGroupName: test-resource-group
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
          responses:
            '200':
              body:
                value:
                - id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow
                  location: brazilsouth
                  name: test-workflow
                  properties:
                    accessControl: {}
                    accessEndpoint: http://tempuri.org
                    changedTime: '2018-08-09T22:54:54.3533634Z'
                    createdTime: '2018-04-25T01:39:21.4365247Z'
                    definition:
                      $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#
                      actions: {}
                      contentVersion: 1.0.0.0
                      outputs: {}
                      parameters: {}
                      triggers: {}
                    endpointsConfiguration:
                      connector:
                        outgoingIpAddresses:
                        - address: 40.84.145.61
                      workflow:
                        accessEndpointIpAddresses:
                        - address: 104.210.153.89
                        - address: 13.85.79.155
                        - address: 13.65.39.247
                        outgoingIpAddresses:
                        - address: 13.84.159.168
                        - address: 13.65.86.56
                        - address: 13.65.82.190
                    integrationAccount:
                      id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account
                      name: test-integration-account
                      type: Microsoft.Logic/integrationAccounts
                    parameters: {}
                    provisioningState: Succeeded
                    state: Enabled
                    version: 8586677515911718000
                  tags: {}
                  type: Microsoft.Logic/workflows
      x-ms-odata: '#/definitions/WorkflowFilter'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Azure Logic Apps Workflows_ List by Resource Group
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}:
    delete:
      description: Deletes a workflow.
      operationId: Workflows_Delete
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - description: The resource group name.
        in: path
        name: resourceGroupName
        required: true
        type: string
        example: my-resource-group
      - description: The workflow name.
        in: path
        name: workflowName
        required: true
        type: string
        example: example-value
      - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        Delete a workflow:
          parameters:
            api-version: '2019-05-01'
            resourceGroupName: test-resource-group
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
            workflowName: test-workflow
          responses:
            '200': {}
            '204': {}
      summary: Azure Logic Apps Workflows_ Delete
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    get:
      description: Gets a workflow.
      operationId: Workflows_Get
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - description: The resource group name.
        in: path
        name: resourceGroupName
        required: true
        type: string
        example: my-resource-group
      - description: The workflow name.
        in: path
        name: workflowName
        required: true
        type: string
        example: example-value
      - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Workflow'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        Get a workflow:
          parameters:
            api-version: '2019-05-01'
            resourceGroupName: test-resource-group
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
            workflowName: test-workflow
          responses:
            '200':
              body:
                id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow
                location: brazilsouth
                name: test-workflow
                properties:
                  accessEndpoint: http://tempuri.org
                  changedTime: '2018-08-09T22:54:54.3533634Z'
                  createdTime: '2018-04-25T01:39:21.4365247Z'
                  definition:
                    $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2018-07-01-preview/workflowdefinition.json#
                    actions: {}
                    contentVersion: 1.0.0.0
                    outputs: {}
                    parameters: {}
                    triggers: {}
                  endpointsConfiguration:
                    connector:
                      outgoingIpAddresses:
                      - address: 40.84.145.61
                    workflow:
                      accessEndpointIpAddresses:
                      - address: 104.210.153.89
                      - address: 13.85.79.155
                      - address: 13.65.39.247
                      outgoingIpAddresses:
                      - address: 13.84.159.168
                      - address: 13.65.86.56
                      - address: 13.65.82.190
                  integrationAccount:
                    id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account
                    name: test-integration-account
                    type: Microsoft.Logic/integrationAccounts
                  integrationServiceEnvironment:
                    id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationServiceEnvironments/test-integration-service-environment
                    name: test-integration-service-environment
                    type: Microsoft.Logic/integrationServiceEnvironments
                  parameters: {}
                  provisioningState: Succeeded
                  state: Enabled
                  version: 8586677515911718000
                tags: {}
                type: Microsoft.Logic/workflows
      summary: Azure Logic Apps Workflows_ Get
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    patch:
      description: Updates a workflow.
      operationId: Workflows_Update
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - description: The resource group name.
        in: path
        name: resourceGroupName
        required: true
        type: string
        example: my-resource-group
      - description: The workflow name.
        in: path
        name: workflowName
        required: true
        type: string
        example: example-value
      - $ref: '#/parameters/api-version'
      - description: The workflow.
        in: body
        name: workflow
        required: true
        schema:
          $ref: '#/definitions/Workflow'
        example: example-value
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Workflow'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        Patch a workflow:
          parameters:
            api-version: '2019-05-01'
            resourceGroupName: test-resource-group
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
            workflow:
              location: brazilsouth
              properties:
                definition:
                  $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#
                  actions:
                    Find_pet_by_ID:
                      inputs:
                        host:
                          connection:
                            name: '@parameters(''$connections'')[''test-custom-connector''][''connectionId'']'
                        method: get
                        path: /pet/@{encodeURIComponent('1')}
                      runAfter: {}
                      type: ApiConnection
                  contentVersion: 1.0.0.0
                  outputs: {}
                  parameters:
                    $connections:
                      defaultValue: {}
                      type: Object
                  triggers:
                    manual:
                      inputs:
                        schema: {}
                      kind: Http
                      type: Request
                integrationAccount:
                  id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account
                parameters:
                  $connections:
                    value:
                      test-custom-connector:
                        connectionId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/connections/test-custom-connector
                        connectionName: test-custom-connector
                        id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/test-custom-connector
              tags: {}
            workflowName: test-workflow
          responses:
            '200':
              body:
                properties:
                  accessEndpoint: http://tempuri.org
                  changedTime: '2018-08-09T22:54:54.3533634Z'
                  createdTime: '2018-04-25T01:39:21.4365247Z'
                  definition:
                    $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#
                    actions: {}
                    contentVersion: 1.0.0.0
                    outputs: {}
                    parameters: {}
                    triggers: {}
                  endpointsConfiguration:
                    connector:
                      outgoingIpAddresses:
                      - address: 40.84.145.61
                    workflow:
                      accessEndpointIpAddresses:
                      - address: 104.210.153.89
                      - address: 13.85.79.155
                      - address: 13.65.39.247
                      outgoingIpAddresses:
                      - address: 13.84.159.168
                      - address: 13.65.86.56
                      - address: 13.65.82.190
                  integrationAccount:
                    id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account
                    name: test-integration-account
                    type: Microsoft.Logic/integrationAccounts
                  parameters: {}
                  provisioningState: Succeeded
                  state: Enabled
                  version: 8586677515911718000
      summary: Azure Logic Apps Workflows_ Update
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    put:
      description: Creates or updates a workflow.
      operationId: Workflows_CreateOrUpdate
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - description: The resource group name.
        in: path
        name: resourceGroupName
        required: true
        type: string
        example: my-resource-group
      - description: The workflow name.
        in: path
        name: workflowName
        required: true
        type: string
        example: example-value
      - $ref: '#/parameters/api-version'
      - description: The workflow.
        in: body
        name: workflow
        required: true
        schema:
          $ref: '#/definitions/Workflow'
        example: example-value
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Workflow'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/Workflow'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        Create or update a workflow:
          parameters:
            api-version: '2019-05-01'
            resourceGroupName: test-resource-group
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
            workflow:
              location: brazilsouth
              properties:
                definition:
                  $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#
                  actions:
                    Find_pet_by_ID:
                      inputs:
                        host:
                          connection:
                            name: '@parameters(''$connections'')[''test-custom-connector''][''connectionId'']'
                        method: get
                        path: /pet/@{encodeURIComponent('1')}
                      runAfter: {}
                      type: ApiConnection
                  contentVersion: 1.0.0.0
                  outputs: {}
                  parameters:
                    $connections:
                      defaultValue: {}
                      type: Object
                  triggers:
                    manual:
                      inputs:
                        schema: {}
                      kind: Http
                      type: Request
                integrationAccount:
                  id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account
                parameters:
                  $connections:
                    value:
                      test-custom-connector:
                        connectionId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/connections/test-custom-connector
                        connectionName: test-custom-connector
                        id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/test-custom-connector
              tags: {}
            workflowName: test-workflow
          responses:
            '200':
              body:
                properties:
                  accessEndpoint: http://tempuri.org
                  changedTime: '2018-08-09T22:54:54.3533634Z'
                  createdTime: '2018-04-25T01:39:21.4365247Z'
                  definition:
                    $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#
                    actions: {}
                    contentVersion: 1.0.0.0
                    outputs: {}
                    parameters: {}
                    triggers: {}
                  endpointsConfiguration:
                    connector:
                      outgoingIpAddresses:
                      - address: 40.84.145.61
                    workflow:
                      accessEndpointIpAddresses:
                      - address: 104.210.153.89
                      - address: 13.85.79.155
                      - address: 13.65.39.247
                      outgoingIpAddresses:
                      - address: 13.84.159.168
                      - address: 13.65.86.56
                      - address: 13.65.82.190
                  integrationAccount:
                    id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account
                    name: test-integration-account
                    type: Microsoft.Logic/integrationAccounts
                  integrationServiceEnvironment:
                    id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationServiceEnvironments/test-integration-service-environment
                    name: test-integration-service-environment
                    type: Microsoft.Logic/integrationServiceEnvironments
                  parameters: {}
                  provisioningState: Succeeded
                  state: Enabled
                  version: 8586677515911718000
            '201':
              body:
                properties:
                  accessEndpoint: http://tempuri.org
                  changedTime: '2018-08-09T22:54:54.3533634Z'
                  createdTime: '2018-04-25T01:39:21.4365247Z'
                  definition:
                    $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#
                    actions: {}
                    contentVersion: 1.0.0.0
                    outputs: {}
                    parameters: {}
                    triggers: {}
                  endpointsConfiguration:
                    connector:
                      outgoingIpAddresses:
                      - address: 40.84.145.61
                    workflow:
                      accessEndpointIpAddresses:
                      - address: 104.210.153.89
                      - address: 13.85.79.155
                      - address: 13.65.39.247
                      outgoingIpAddresses:
                      - address: 13.84.159.168
                      - address: 13.65.86.56
                      - address: 13.65.82.190
                  integrationAccount:
                    id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account
                    name: test-integration-account
                    type: Microsoft.Logic/integrationAccounts
                  integrationServiceEnvironment:
                    id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationServiceEnvironments/test-integration-service-environment
                    name: test-integration-service-environment
                    type: Microsoft.Logic/integrationServiceEnvironments
                  parameters: {}
                  provisioningState: Succeeded
                  state: Enabled
                  version: 8586677515911718000
      summary: Azure Logic Apps Workflows_ Create or Update
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/disable
  : post:
      description: Disables a workflow.
      operationId: Workflows_Disable
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - description: The resource group name.
        in: path
        name: resourceGroupName
        required: true
        type: string
        example: my-resource-group
      - description: The workflow name.
        in: path
        name: workflowName
        required: true
        type: string
        example: example-value
      - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        Disable a workflow:
          parameters:
            api-version: '2019-05-01'
            resourceGroupName: test-resource-group
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
            workflowName: test-workflow
          responses:
            '200': {}
      summary: Azure Logic Apps Workflows_ Disable
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/enable
  : post:
      description: Enables a workflow.
      operationId: Workflows_Enable
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - description: The resource group name.
        in: path
        name: resourceGroupName
        required: true
        type: string
        example: my-resource-group
      - description: The workflow name.
        in: path
        name: workflowName
        required: true
        type: string
        example: example-value
      - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        Enable a workflow:
          parameters:
            api-version: '2019-05-01'
            resourceGroupName: test-resource-group
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
            workflowName: test-workflow
          responses:
            '200': {}
      summary: Azure Logic Apps Workflows_ Enable
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/generateUpgradedDefinition
  : post:
      description: Generates the upgraded definition for a workflow.
      operationId: Workflows_GenerateUpgradedDefinition
      parameters:
      - $ref: '#/parameters/subscriptionId'
      - description: The resource group name.
        in: path
        name: resourceGroupName
        required: true
        type: string
        example: my-resource-group
      - description: The workflow name.
        in: path
        name: workflowName
        required: true
        type: string
        example: example-value
      - $ref: '#/parameters/api-version'
      - description: Parameters for generating an upgraded definition.
        in: body
        name: parameters
        required: true
        schema:
          $ref: '#/definitions/GenerateUpgradedDefinitionParameters'
        example: example-value
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Object'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/ErrorResponse'
      tags:
      - Workflows
      x-ms-examples:
        Generate an upgraded definition:
          parameters:
            api-version: '2019-05-01'
            parameters:
              targetSchemaVersion: '2016-06-01'
            resourceGroupName: test-resource-group
            subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345
            workflowName: test-workflow
          responses:
            '200':
              body:
                $schema: https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#
                actions: {}
                conte

# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/azure-logic-apps/refs/heads/main/openapi/azure-logic-apps-workflows-api-openapi.yml