---
title: "Revoke specific sessions"
method: POST
path: "/sessions/revoke"
tags: ["auth"]
---

# Revoke specific sessions

`POST /sessions/revoke`

## Request body

- SessionRevokeRequest
  - `username` string
  - `session_id` string
  - `all` boolean

## Response `200`

Revoke result

- RevokeResponse
  - `revoked` integer, required

---

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