Skip to content

Incorrect examples for API documentation of Email Routing #20017

@as-ajitsingh

Description

@as-ajitsingh

Example URL(s)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions