我正在运行NoFlo开发环境的本地版本,并想知道如何删除(取消注册)运行时。实际上,我如何从FlowHub托管环境中删除运行时?
答案 0 :(得分:1)
目前没有用户界面执行此操作,但API存在:Issue
答案 1 :(得分: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