update paypal link authored by Roland Alton's avatar Roland Alton
## deleting boards
As Pads are used anonymously we do not apply any roles, so we can not allow somebody to make deletions, else that would cause conflicts among users (think of pupils).
If you want to have a pad deleted please write a message to support@fairkom.eu
As a sysadmin we have some tools:
## API call
We can delete a board by API call
```
https://board.net/api/1/deletePad?apikey=secret12345&padID=Myseminar-B3S
```
or preferred is directly on heu2 so that key is not exposed:
```
curl "https://board.net/api/1/deletePad?apikey=secret029b3f1&padID=Myseminar-B3S"
```
Since heu2 does not resolve his own dns use:
```
curl -k "https://127.0.0.1/api/1/deletePad?apikey=secret029b3f1&padID=Myseminar-B3S"
```
or
```
curl -k "https://localhost/api/1/deletePad?apikey=secret029b3f1&padID=Myseminar-B3S"
```
Admins: see https://etherpad.org/doc/latest/#index_http_api get how to secret logged in the server from `cat /opt/etherpad-lite/APIKEY.txt` or from keepass.
If we only know the read only link, we need to get the PadID first:
```
"https://board.net/api/1.2.14/getPadID?apikey=apikey...&roID=r.dcaf13c86f0df1fbb3627394515087c3"
```
## delete script
(not reliable working on our large instance)
```
su etherpad
cd /opt/etherpad-lite/src
node bin/checkPad.js test
node bin/deletePad.js test
```
## adminpads2 plugin
This is too slow (**so don't use - can cause etherpad to crash! use api calls instead**) see https://github.com/ether/etherpad-lite/issues/2899#issuecomment-779611308
## donation
If you requested a board for deletion, we welcome your donation to cover expenses to run the board.net service and for personal support: https://www.paypal.com/cgi-bin/webscr?cmd=\_s-xclick&hosted_button_id=5TQ33F5GUFLLE
\ No newline at end of file
## deleting boards
As Pads are used anonymously we do not apply any roles, so we can not allow somebody to make deletions, else that would cause conflicts among users (think of pupils).
If you want to have a pad deleted please write a message to support@fairkom.eu
As a sysadmin we have some tools:
## API call
We can delete a board by API call
```
https://board.net/api/1/deletePad?apikey=secret12345&padID=Myseminar-B3S
```
or preferred is directly on heu2 so that key is not exposed:
```
curl "https://board.net/api/1/deletePad?apikey=secret029b3f1&padID=Myseminar-B3S"
```
Since heu2 does not resolve his own dns use:
```
curl -k "https://127.0.0.1/api/1/deletePad?apikey=secret029b3f1&padID=Myseminar-B3S"
```
or
```
curl -k "https://localhost/api/1/deletePad?apikey=secret029b3f1&padID=Myseminar-B3S"
```
Admins: see https://etherpad.org/doc/latest/#index_http_api get how to secret logged in the server from `cat /opt/etherpad-lite/APIKEY.txt` or from keepass.
If we only know the read only link, we need to get the PadID first:
```
"https://board.net/api/1.2.14/getPadID?apikey=apikey...&roID=r.dcaf13c86f0df1fbb3627394515087c3"
```
## delete script
(not reliable working on our large instance)
```
su etherpad
cd /opt/etherpad-lite/src
node bin/checkPad.js test
node bin/deletePad.js test
```
## adminpads2 plugin
This is too slow (**so don't use - can cause etherpad to crash! use api calls instead**) see https://github.com/ether/etherpad-lite/issues/2899#issuecomment-779611308
## donation
If you requested a board for deletion, we welcome your donation to cover expenses to run the board.net service and for personal support: [https://www.paypal.com/cgi-bin/webscr?cmd=\_s-xclick&hosted_button_id=5TQ33F5GUFLLE](https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=5TQ33F5GUFLLE&ssrt=1757751136581)
\ No newline at end of file