2

我正在运行 NoFlo 开发环境的本地版本,并且想知道如何删除(注销)运行时。实际上,如何从 FlowHub 托管环境中删除运行时?

4

2 回答 2

1

目前没有 UI 可以执行此操作,但 API 存在:问题

于 2015-04-22T15:18:02.217 回答
1

这是我的 bash 脚本。

#!/bin/bash -x

# Your UUID can be found through developer JS console: Resources -> Local Storage -> Look for grid-token
uuid="<your uuid>" 

# the list of runtimes you want to delete.
list=$1

for i in ${list}
do
    curl -X DELETE http://api.flowhub.io/runtimes/${i} -H "Authorization: Bearer ${uuid}"
done
于 2015-08-16T18:05:24.850 回答