---
title: "Delete all session related information for matching the specified session id."
method: DELETE
path: "/detectLivenessWithVerify-sessions/{sessionId}"
---

# Delete all session related information for matching the specified session id.

`DELETE /detectLivenessWithVerify-sessions/{sessionId}`

> [!NOTE]
> Deleting a session deactivates the Session Auth Token by blocking future API calls made with that Auth Token. While this can be used to remove any access for that token, those requests will still count towards overall resource rate limits. It's best to leverage TokenTTL to limit length of tokens in the case that it is misused.

## Path parameters

- `sessionId` string, required

## Response `204`

Successfully deleted session and all correlated data.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/ai-face.md) · [All operations](https://skmtc.net/azure/apis/ai-face/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/ai-face/versions/e9a68c525be6/schema)
