Storage service - Delete a database

0 votes


I made a TEST database in my application > Storage service. How to delete it ?

Moreover, when I run :

storageService.insertJSONDocument("options", "plqyers", "{\"name\":\"Nick\"}");

I got the error : 

{"app42Fault":{"httpErrorCode":400,"appErrorCode":2610,"message":"Bad Request","details":"The request parameters are invalid. Storage '[TEST]' already exists."}}

I can guess because I already created a database TEST. But why can't I make a new database in the same application ?

I am quite lost ...

asked Jun 19, 2014 in App42 Cloud API-BaaS by Manu (20 points)

1 Answer

0 votes

Hi Manu,

Thanks for writing us.

Let me clear one thing that you are allowed to create one DB per app. 

You can create multiple collection in one DB.

Also i willl recommend you that kindly follow the FAQ which will clear some points for further queries.


answered Jun 19, 2014 by hs00105 (517 points)
Hello hs00105,

Thank you for the answer about one DB.
However I still don't know how to delete my test DB.

In the FAQ :

Can I delete my database in storage service?
You can delete database by deleting all your collections form AppHQQ console.

I can't do it through the AppHQ console. I only have 3 buttons : Save JSON, Remove collection and Remove JSON document.

Am I misunderstanding something ?
You have to select your collection one by one and press remove collection on it. This will truncate your database.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on