history

Purge call history

Changed on

Deletes recorded calls. With X-Gripmock-Session only the records of that session are removed, so a test can reset its own history without disturbing the calls of a parallel session; without the header the whole history is cleared.

delete/history

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/history
  • Auth
    none required

Response

Number of records deleted

deletedCountinteger required

Number of records removed.

sessionstring

Session the purge was scoped to, absent when the whole history was cleared.

Changes