> ## Documentation Index
> Fetch the complete documentation index at: https://help.narmi.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Delete session
> End an Account Opening session by deleting the `applicant_token` cookie.
Typically invoked after application reaches a final status to allow opening new applications from the same browser.
Authentication required:
- JWT: read from `applicant_token` key of cookie
Security required:
- CSRF token under `HTTP_X_CSRFTOKEN`, `X-CSRFTOKEN`, or `CSRF_COOKIE` header
How can we improve these docs? Share your feedback.
## OpenAPI
````json DELETE /v1/session/
{
"openapi": "3.0.3",
"info": {
"title": "Narmi Account Opening API",
"version": "v1 (main)",
"description": "To read about the primary endpoints required for Online Account Opening and recommended usage, go to [Account Opening Usage](https://narmi.stoplight.io/docs/narmi-developer-docs/i365qm2g7lq69-account-opening-usage).",
"termsOfService": "https://www.narmi.com/policies/developer-terms-conditions",
"contact": {
"name": "Narmi Support",
"email": "support@narmi.com"
}
},
"servers": [
{
"url": "https://api.sandbox.narmi.dev/",
"description": ""
}
],
"tags": [
{
"name": "account opening"
},
{
"name": "csrf"
},
{
"name": "products"
},
{
"name": "session"
}
],
"x-stoplight": {
"id": "j1gfsrho7eeyd"
},
"paths": {
"/v1/session/": {
"delete": {
"operationId": "DELETE Session",
"description": "End an Account Opening session by deleting the `applicant_token` cookie.\n\nTypically invoked after application reaches a final status to allow opening new applications from the same browser.\n\nAuthentication required:\n- JWT: read from `applicant_token` key of cookie\n\nSecurity required:\n- CSRF token under `HTTP_X_CSRFTOKEN`, `X-CSRFTOKEN`, or `CSRF_COOKIE` header\n\n\n\nHow can we improve these docs? Share your feedback.",
"summary": "Delete session",
"parameters": [
{
"in": "query",
"name": "format",
"schema": {
"type": "string",
"enum": [
"json",
"toon"
]
}
}
],
"tags": [
"session"
],
"responses": {
"200": {
"description": "Session deleted successfully"
},
"429": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RateLimitError"
}
},
"application/toon": {
"schema": {
"$ref": "#/components/schemas/RateLimitError"
}
}
},
"description": ""
}
},
"x-stoplight": {
"id": "uqaqfcokiak3g"
}
}
}
},
"components": {
"schemas": {
"RateLimitError": {
"type": "object",
"properties": {
"id": {
"type": "string",
"default": "rate_limit_error"
},
"message": {
"type": "string",
"default": "Too many related requests have been made too quickly."
}
},
"x-stoplight": {
"id": "5njwfhnbkxbtm"
}
}
}
}
}
````