Skip to main content

Disable flow automatically

Comments

2 comments

  • Anitha Abraham Community manager Principal Technical Writer
    Celigo University Level 3: Master

    Alexander Ukader, I've moved your post from "Welcome to our community" to the "Troubleshoot custom flows" forum so that you get an answer more quickly. Your post URL will remain the same. Thanks!

    0
  • Sachin Godishela Software Engineer
    Answer Pro
    Great Answer
    Celigo University Level 4: Legendary

    Hi Alexander,
    You can make a PUT call by changing the "disabled" field to true.

    Example:

    PUT https://api.integrator.io/v1/flows/<yourFlowId>


    {
    "_id": "<yourFLowId>",
      "lastModified": "2022-08-30T05:40:41.780Z",
    "name": "orderful",
      "disabled": true,
    "_integrationId": "xx",
      "skipRetries": false,
      "pageProcessors": [
        {
          "responseMapping": {
            "fields": [],
            "lists": []
          },
          "type": "import",
        "_importId": "xx"
        }
      ],
      "pageGenerators": [
        {
        "_exportId": "xx",
          "skipRetries": false
        }
      ],
      "createdAt": "2022-07-14T11:38:44.000Z",
      "free": false,
    "_sourceId": "xx",
      "autoResolveMatchingTraceKeys": true
    }

     

    1

Please sign in to leave a comment.