Automation
Post v1automationworkflows pause
POST
/
v1
/
automation
/
workflows
/
{workflowID}
/
pause
cURL
curl --request POST \
--url https://api.wazapin.com/v1/automation/workflows/{workflowID}/pauseconst options = {method: 'POST'};
fetch('https://api.wazapin.com/v1/automation/workflows/{workflowID}/pause', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/automation/workflows/{workflowID}/pause"
response = requests.post(url)
print(response.text){
"id": "<string>",
"name": "<string>",
"status": "<string>",
"active_version_id": "<string>",
"created_at": "<string>",
"description": "<string>",
"updated_at": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
cURL
curl --request POST \
--url https://api.wazapin.com/v1/automation/workflows/{workflowID}/pauseconst options = {method: 'POST'};
fetch('https://api.wazapin.com/v1/automation/workflows/{workflowID}/pause', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/automation/workflows/{workflowID}/pause"
response = requests.post(url)
print(response.text){
"id": "<string>",
"name": "<string>",
"status": "<string>",
"active_version_id": "<string>",
"created_at": "<string>",
"description": "<string>",
"updated_at": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}