Delete WhatsApp Flow
Delete a WhatsApp flow. Only flows in DRAFT status can be deleted.
Please log in to see full path URL. Learn why.
delete
/whatsapp/1/senders/{sender}/flows/{flowId}
Authorizations:
Scopes:
Request rate limit:
100 requests / hour (per account)
path Parameters
sender required | string Example: 447796344125 Registered WhatsApp sender number. Must be in international format. |
flowId required | string Example: 123456 ID of the flow to be deleted. |
Responses
204
Flow deleted
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g -X DELETE 'https://{baseUrl}/whatsapp/1/senders/447796344125/flows/123456' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 400
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Example
Flow is already published
Copy
Collapse all {- "errorCode": "E400",
- "description": "Deletion attempt failed.",
- "action": "Check the syntax, violations and adjust the request.",
- "violations": [
- {
- "property": "flowId",
- "violation": "Cannot delete flow which is not in DRAFT status."
}
], - "resources": [ ]
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See