11

Is it possible? How? I only can create or edit created. I am using my own server. I would like to admin or at least delete some pads.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
legami
  • 1,303
  • 6
  • 22
  • 31

3 Answers3

14

if you are still expecting an answer: via the provided api. you need the api key (e.g. /var/etherpad-lite/APIKEY.txt) and the id of the pad you want to delete (e.g. mypad). then you send a simple http request to

http://yourserver.org:9001/api/1/deletePad?apikey=yourkey&padID=mypad

wolxXx
  • 328
  • 1
  • 4
  • 14
  • {"code":1,"message":"padID is not a string","data":null} – Dereckson May 19 '17 at 16:48
  • this post is older than four years. maybe they changed something :) otherwise check the parameters you provided ;) – wolxXx May 22 '17 at 07:53
  • Make sure to check the spelling of `padID`. I ran into the same issue earlier and realised that I was using `padId`. – Shoan Nov 27 '18 at 14:59
0

or if you want to have an open source solution: https://github.com/Visono/padlister hope, that it works, it is my first open source project ;)

wolxXx
  • 328
  • 1
  • 4
  • 14
0

The ep_adminpads plugin can be used to list and delete pads - it is installed by npm: see at npmjs or github or even from the /admin route inside the etherpad installation.

JeffRSon
  • 10,404
  • 4
  • 26
  • 51