Skip to main content
POST
/
flows
/
{flowId}
/
unblock
JavaScript
import Mobilerun from '@mobilerun/sdk';

const client = new Mobilerun({
  apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});

const response = await client.workflows.flows.unblock('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');

console.log(response.data);
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "triggerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "enabled": true,
    "deviceIds": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    "cooldownSeconds": 123,
    "notifyWebhookId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "notifyOnSuccess": true,
    "notifyOnFailure": true,
    "lastTriggeredAt": "<string>",
    "consecutiveFailures": 1,
    "lastFailureAt": "<string>",
    "blockedAt": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Path Parameters

flowId
string<uuid>
required

Response

Flow unblocked (or already healthy)

data
object
required