DELETE 1 credit

Delete Mock Endpoint

Permanently delete a mock endpoint

How to Use

  1. 1. Send a `DELETE` request to `/v1/mocks/{mock_id}` with your API key. 2. The mock is immediately removed. 3. Returns a confirmation message on success, or a 404 if the mock was not found or already expired.

About this Tool

Permanently delete a mock endpoint. Once deleted, the mock ID and endpoint URL stop working immediately. Any requests to the mock's URL will return a 404.

Use Cases

Post-test cleanup

Remove mocks after integration testing is complete

Resource management

Delete mocks before TTL expiry to keep things tidy

CI teardown

Clean up mock endpoints in your pipeline's teardown step

FAQ

What happens if the mock has already expired? expand_more
You'll receive a `404` response with `"Mock not found or expired"`. No action is needed.
Is deletion reversible? expand_more
No. Once deleted, the mock endpoint and its configuration are permanently removed.
Try Delete Mock Endpoint →