TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Reset the attempt counter for a key

DELETEhttps://api.testingapis.com/api/chaos/retry/{key}Sign in to see this endpoint's URL

Parameters 1

NameTypeDescription
keyrequiredpath · stringThe counter name to reset.

Responses

200
Counter reset (or it never existed).

Example

Request
curl -X DELETE "https://api.testingapis.com/api/chaos/retry/docs-demo?succeedAfter=0" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{"message": "Counter for 'docs-demo' reset after 1 attempt(s).", "key": "docs-demo"}

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.