---
title: "Delete a test OIDC login flow"
method: DELETE
path: "/self-service/login/test"
tags: ["frontend"]
---

# Delete a test OIDC login flow

`DELETE /self-service/login/test`

Deletes a dry-run OIDC test login flow. A flow whose debug payload has
been captured requires the HMAC cookie set by the OIDC callback; a flow
still in the initial choose-method state is deletable with just the flow
ID (it carries no PII, and the admin may want to abandon it).

## Query parameters

- `id` string, required

## Headers

- `Cookie` string

## Response `204`

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 204.

## Other responses

- `400` — errorGeneric
- `403` — errorGeneric
- `404` — errorGeneric
- `default` — errorGeneric

---

[API](https://skmtc.net/ory/apis/ory-kratos.md) · [All operations](https://skmtc.net/ory/apis/ory-kratos/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ory/ory-kratos/versions/cc87f41fbd6d/schema)
