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