Sample - Stripe API
DELETE/v1/test_helpers/test_clocks/{test_clock}

Delete a test clock

Deletes a test clock from the test environment. Supply the test clock identifier to remove the clock and receive a confirmation object identifying the deleted resource.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
test_clockstringrequired
The identifier of the test clock to delete. Maximum 5,000 characters.

2 status codes
200Returns a deleted test clock object containing its identifier, object type, and `deleted: true` confirmation.
deletedbooleanrequired
Always true for a deleted object
Allowed:true
idstringrequired
Unique identifier for the object.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:test_helpers.test_clock
defaultError response.
errorobjectrequired

Error handling

test_clock must be no longer than 5,000 characters and must identify the test clock to delete. The operation applies to test clocks in the test environment.