cURL
curl --request POST \ --url https://api.example.com/api/admin/database/drop \ --header 'Content-Type: application/json' \ --data ' { "confirm": false } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Drop all database objects.
Pass confirm=True to confirm you want to modify the database.
Successful Response
Was this page helpful?