Delete all variables matching a query OR wipe your Datebase
Endpoint Headers:
apikey - Your Api Auth Key [String](Required)
Endpoint URL Parameters
query - Retrieves entries based off if the provided string is within their names [String] (Optional)
Examples:
Data API version required. Must replace <version> with either release or beta.
Bot Designer for Discord
Example usage of /db/deleteAll endpoint using BDFD
$httpAddHeader[apikey;<YOUR-API-KEY>]$httpGet[https://bdfddata.rickyjs.xyz/<version>/db/deleteAll]$httpResult OR $httpResult[entries]
OR
$httpAddHeader[apikey;<YOUR-API-KEY>]$httpGet[https://bdfddata.rickyjs.xyz/<version>/db/deleteAll?query=<SEARCH-QUERY>]$httpResult OR $httpResult[entries]
Discord.js
Example usage of /db/deleteAll endpoint using Discord.js