taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

clear-db.rst (461B)


      1 .. ts:op:: clearDb
      2 
      3   Dangerously clear the whole wallet database.
      4 
      5   **Request:**
      6 
      7     This operation takes no arguments (an empty object).
      8 
      9   **Response:**
     10 
     11     On success, the result is an empty object.
     12 
     13   **Side effects:**
     14 
     15     Irreversibly deletes the entire wallet database.
     16 
     17   **Details:**
     18 
     19     In addition to the database contents, all in-memory caches and the
     20     recorded flight records are cleared, and the background task
     21     scheduler is reloaded.