• Resolved tojohery

    (@tojohery)


    Hello,

    I used restapi host/wp-json/redirection/v1/bulk/redirect/delete
    and i send id (to delete) like this for example {2690,2020,3005} in postman and it return like this, but not delete, i wish to delete the id {2690,2020,3005}

    {
        "items": [
            {
                "id": 2690,
                "url": "pour-pneu",
                "match_url": "pour-pneu",
                "match_data": {
                    "source": {
                        "flag_query": "exact",
                        "flag_case": false,
                        "flag_trailing": false,
                        "flag_regex": false
                    }
                },
                "action_code": 301,
                "action_type": "url",
                "action_data": {
                    "url": "/pour-pneu/"
                },
                "match_type": "url",
                "title": "",
                "hits": 0,
                "regex": false,
                "group_id": 1,
                "position": 2689,
                "last_access": "-",
                "enabled": true
            }

    Many thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author John Godley

    (@johnny5)

    The REST API is used by the plugin to delete, so you can look at what requests the plugin is sending and make sure yours matches.

Viewing 1 replies (of 1 total)

The topic ‘delete redirection with restapi not work’ is closed to new replies.