Admin API: Server state


The /mockoon-admin/state endpoint allows you to purge the state of a running environment. This include resetting the request count, regenerating the data buckets, clearing the global variables, and resetting the transaction logs.

 Purging the state of a running environment

To purge the state of a running environment is done by calling one of the following endpoints:

  • PURGE /mockoon-admin/state.
  • POST /mockoon-admin/state/purge.

Effects: