---
title: "Expire a Session"
method: POST
path: "/api/v1/sessions/{id}/expire"
tags: ["Session"]
---

# Expire a Session

`POST /api/v1/sessions/{id}/expire`

This API is used to expire or invalidate the session created by public Session ID.

## Path parameters

- `id` string, required

## Response `201`

Success: Session status changed to expired

- object
  - `statusCode` number
  - `message` string
  - `data` object

## Other responses

- `401` — Unauthorized
- `403` — Forbidden Resources

---

[API](https://skmtc.dev/securo/apis/securo-api.md) · [All operations](https://skmtc.dev/securo/apis/securo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/securo/securo-api/revisions/6cdab218fa72/schema)
