Workflows
Delete workflow
Deletes a workflow by its ID.
DELETE
/
api
/
workflows
/
{id}
Delete workflow
curl --request DELETE \
--url https://{baseUrl}/api/v1/api/workflows/{id}import requests
url = "https://{baseUrl}/api/v1/api/workflows/{id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://{baseUrl}/api/v1/api/workflows/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/workflows/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{}⌘I
Delete workflow
curl --request DELETE \
--url https://{baseUrl}/api/v1/api/workflows/{id}import requests
url = "https://{baseUrl}/api/v1/api/workflows/{id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://{baseUrl}/api/v1/api/workflows/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/workflows/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{}