---
title: "Unverify Session"
method: PUT
path: "/api/mesh/agents/sessions/{session_key}/unverify"
tags: ["mesh"]
---

# Unverify Session

`PUT /api/mesh/agents/sessions/{session_key}/unverify`

## Request

- Base URL: `https://api.superit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.superit.ai/api/mesh/agents/sessions/{session_key}/unverify`
- Auth: HTTP bearer

Remove verification from a session. Admin only.

## Path parameters

- `session_key` string, required

## Response `200`

Successful Response

- SessionDetail: Session detail for API responses.
  - `key` string, required
  - `username` string, required
  - `hostname` string, required
  - `operatingSystem` string, required
  - `machineId` string, nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `lastObserved` string, nullable
  - `isOnline` boolean
  - `isLoggedIn` boolean
  - `isVerified` boolean
  - `verifiedAt` string, nullable
  - `verifiedUser` SessionUser: User info for verified session.
    - `id` integer, required
    - `name` string, required
    - `email` string, required
  - `verificationMethod` 'aad_auto' | 'admin_manual' | 'aad_pending' | 'install_key' | 'legacy'
  - `lastUsedAt` string, nullable

## Other responses

- `400`: Invalid input
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `409`: Conflict
- `422`: Validation Error

---

[API](https://skmtc.dev/superit/apis/super-it-api.md) - [All operations](https://skmtc.dev/superit/apis/super-it-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superit/apis/super-it-api/revisions/4944d556c2bb?raw)
