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).
SDK ReferenceTypeScript
deleteTestLoginFlow()| Parameters | Type | Required | Description |
|---|---|---|---|
| id | string | required | ID of the test login flow to delete. |
| cookie | string | optional | HTTP Cookies. A captured test flow requires the ory_kratos_test_flow cookie set by the OIDC callback; a flow still in the initial choose-method state does not. |