---
title: "DELETE /session/player/leave"
method: DELETE
path: "/session/player/leave"
---

# DELETE /session/player/leave

`DELETE /session/player/leave`

## Request

- Base URL: `https://api.sandbox-gameye.gameye.net`
- URL: `https://api.sandbox-gameye.gameye.net/session/player/leave`
- Auth: none declared

## Request body

- LeaveSession
  - `players` string[], required: The list of player ID's to join this session.

## Response `200`

One or more player IDs have been removed from the session.

- LeaveSessionOkBody
  - `count` integer, required: The total amount of players that are in this session.
  - `players` string[], required: The list of player ID's to leave this session.

## Other responses

- `401`: You are not authorized to use this endpoint. Please make sure that the included bearer token is correct.
- `403`: Your API token may not have the required permissions to invoke this endpoint.
- `404`: The provided session does not exist.
- `422`: Bad request. This may imply that the given request has invalid syntax.

---

[API](https://skmtc.dev/gameye/apis/gameye-session-api-2.md) · [All operations](https://skmtc.dev/gameye/apis/gameye-session-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/gameye/apis/gameye-session-api-2/revisions/0a019bf29067?raw)
