This plugin adds a custom API action at delete
to delete a ShortURL by its keyword:
Using a URL such as https://yourls-domain.com/yourls-api.php?signature=1002a612b4&action=delete&keyword=toto&format=json
:
{
"statusCode": 200,
"message": "success",
"result": 1
}
- Upload this folder to
/user/plugins
. - Activate this plugin from the Plugins administration page.