---
title: "StopSession endpoint"
method: DELETE
path: "/api/v1/accounts/{{account_id}}/sessions"
tags: ["Session"]
---

# StopSession endpoint

`DELETE /api/v1/accounts/{{account_id}}/sessions`

## Request

- Base URL: `https://edge-gsc.api.brightcove.com`
- URL: `https://edge-gsc.api.brightcove.com/api/v1/accounts/{{account_id}}/sessions`
- Auth: API key in header `Authorization`

An endpoint that removes an active session by AccountID and SessionID

## Path parameters

- `account_id` string, required

## Response `204`

Successful delete

## Other responses

- `401`: Unauthorized due to invalid token

## Changes

- **2024-10-24** `d8a64dc7830d`: 1 warning
  - deleted the `path` request parameter `session_id`
- **2024-10-22** `7791f02bdc3d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brightcovelearning/apis/concurrency-service-api/changes/api/v1/accounts/:{account_id}/sessions/delete.md)

---

[API](https://skmtc.dev/brightcovelearning/apis/concurrency-service-api.md) - [All operations](https://skmtc.dev/brightcovelearning/apis/concurrency-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brightcovelearning/apis/concurrency-service-api/revisions/d8a64dc7830d?raw)
