# Delete a test clock

Deletes a test clock.

## Prerequisites

Before you can run the following code snippet, you need to call these APIs with the provided parameters to set up the prerequisite API object(s).

1. createTestHelpersTestClock
POST /v1/test_helpers/test_clocks {"frozen_time":1577836800}

## Request

```curl
curl -X DELETE https://api.stripe.com/v1/test_helpers/test_clocks/{{TEST_CLOCK_ID}} \
  -u "<<YOUR_SECRET_KEY>>"
```

### Response

```json
{
  "id": "clock_1Mr3I22eZvKYlo2Ck0rgMqd7",
  "object": "test_helpers.test_clock",
  "deleted": true
}
```

## Returns

The deleted `TestClock` object is returned upon success. Otherwise, this call raises [an error](https://docs.stripe.com/api/errors.md).
