Title: delete redirection with restapi not work
Last modified: May 17, 2021

---

# delete redirection with restapi not work

 *  Resolved [tojohery](https://wordpress.org/support/users/tojohery/)
 * (@tojohery)
 * [5 years ago](https://wordpress.org/support/topic/delete-redirection-with-restapi-not-work/)
 * 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](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [5 years ago](https://wordpress.org/support/topic/delete-redirection-with-restapi-not-work/#post-14447664)
 * 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.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/delete-redirection-with-restapi-not-work/#post-14447664)
 * Status: resolved