This API action is for deleting database keys or databases.
API URL: https://api.1mb.site
Method: POST
All 5 parameters are required!
action - Should be db-delete
username - 1MB username
api_key - Log in at https://account.1mb.site and click “API Keys” to get your API key
database - The name of the database you want to access
key - If you leave this parameter blank the whole database will be deleted, otherwise it’ll delete the key you specify
The response will be in JSON. Here’s an example response where there’s no error:
{
"error": false,
"data": false
}
If there’s no error the error
key will be false. If an error does occur then the error
key will be a string describing the error.
The data
key will always be false because this API action doesn’t make use of it.
Here’s an example response where there’s an error:
{
"error": "USERNAME_MISSING",
"data": false
}