Delete an action
curl --request DELETE \
--url https://api.flowent.chat/api/v1/gateway/actions/{name} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.flowent.chat/api/v1/gateway/actions/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.flowent.chat/api/v1/gateway/actions/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "Action deleted successfully"
}{
"error": "Invalid token"
}{
"error": "Action not found"
}Actions
Delete an action
Delete an action from your tenant
DELETE
/
actions
/
{name}
Delete an action
curl --request DELETE \
--url https://api.flowent.chat/api/v1/gateway/actions/{name} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.flowent.chat/api/v1/gateway/actions/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.flowent.chat/api/v1/gateway/actions/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "Action deleted successfully"
}{
"error": "Invalid token"
}{
"error": "Action not found"
}