Withdraw all Pending Connection Requests on LinkedIn using JavaScript

LinkedIn have an option to withdraw the connection requests you have sent and still pending to be accepted. You can see all the pending request if you go to this page on LinkedIn.

But if you want to withdraw a large number of connection requests you have sent, manually doing it is a tedious task and time consuming.

I made a small JavaScript script which you can run on your browser console that automates the process and withdraw all your pending requests in a second.

Steps to automatically withdraw all pending requests using JavaScript

  • Open your browser (Chrome is used by me).
  • Go to this page where you can see all your pending requests.(https://www.linkedin.com/mynetwork/invitation-manager/sent/)
  • Right click on the page and select Inspect. ([Ctrl+Shift+i] on Chrome)
  • Select Console tab.
  • Copy and paste this script inside console and press Enter to run the code.

Now you will be able to see all the requests withdrawn in a second.
I hope you enjoyed this small tip to remove all pending requests you have sent on LinkedIn.

Jobin Jose


  1. thank you bro the script works very fine

  2. This is great, how can i use it to only run for connections that are pending for a month

  3. Kudos to the author for highlighting the benefits of plastic pots . They are not only lightweight and durable but also offer excellent drainage for healthy plant growth. Well done!"