Delete an Outbound Route

Delete an outbound route, multiple outbound routes, or all outbound routes.

Endpoint

POST /api/v1.1.0/outroute/delete?token={token}

Request Parameters

Name Importance Type Description
name Required String Outbound route name.
  • An outbound route: Set name to the outbound route name.

    Example: "name":"route1"

  • Multiple outbound routes: Set name to the outbound route name. Separate multiple outbound routes with ,.

    Example: "name": "route1,route2"

  • All outbound routes: Set name to all.

Examples

Request Example

POST /api/v1.1.0/outroute/delete?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: api.yeastarcloud.com
{
    "name": "route1,route2"
}

Response Example

HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
    "status": "Success"
}