-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Labels
Description
Example URL(s)
- https://developers.cloudflare.com/api/resources/email_routing/subresources/rules/methods/create/
- https://developers.cloudflare.com/api/resources/email_routing/subresources/rules/methods/update/
Actual Behavior
Both cURL examples indicate that the drop action should be used for create and update operations.
// from documentation
[
{
"type": "drop",
"value": ["[email protected]"]
}
]
and api request results in below error -
[
{
"code": 2007,
"message": "Invalid Input: actions: (0: (value: drop action cannot have values.).)."
}
]
Expected Behavior
Instead of drop, it should say forward, as that appears to be the correct request body.
Additional information
I can make the change and create a PR, but I couldn't find the repository for the API documentation. This repo only contains the user documentation, not the API docs.