| Field | Type | Required | Description | Example |
|---|
session | string | Yes | The ID of the session to remove players from. | "c595bc6f-8522-4a62-95cd-8742136643ea" |
players | array | Yes | The list of player IDs to remove from this session. | ["player-uuid-1"] |
curl --location --request DELETE 'https://api.sandbox-gameye.gameye.net/session/player/leave' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
"session": "c595bc6f-8522-4a62-95cd-8742136643ea",
"players": ["player-uuid-1"]
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var raw = JSON.stringify({
"session": "c595bc6f-8522-4a62-95cd-8742136643ea",
"players": ["player-uuid-1"]
fetch("https://api.sandbox-gameye.gameye.net/session/player/leave", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
url = URI("https://api.sandbox-gameye.gameye.net/session/player/leave")
https = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Delete.new(url)
request["Accept"] = "application/json"
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"session": "c595bc6f-8522-4a62-95cd-8742136643ea",
"players": ["player-uuid-1"]
response = https.request(request)
url = "https://api.sandbox-gameye.gameye.net/session/player/leave"
"session": "c595bc6f-8522-4a62-95cd-8742136643ea",
"players": ["player-uuid-1"]
'Accept': 'application/json',
'Content-Type': 'application/json'
response = requests.request("DELETE", url, headers=headers, data=payload)
One or more player IDs have been removed from the session.
| Field | Type | Required |
|---|
count | integer | Yes |
players | array | Yes |
// One or more player IDs have been removed from the session.
You are not authorized to use this endpoint. Please make sure that the included bearer token is correct.
| Field | Type | Required |
|---|
statusCode | integer | Yes |
code | string | Yes |
message | string | Yes |
details | string | Yes |
path | string | Yes |
timestamp | string | Yes |
identifier | string | Yes |
violations | array | No |
// You are not authorized to use this endpoint. Please make sure that the included bearer token is correct.
The provided session does not exist.
| Field | Type | Required |
|---|
statusCode | integer | Yes |
code | string | Yes |
message | string | Yes |
details | string | Yes |
path | string | Yes |
timestamp | string | Yes |
identifier | string | Yes |
violations | array | No |
// The provided session does not exist.
Bad request. This may imply that the given request has invalid syntax.
| Field | Type | Required |
|---|
statusCode | integer | Yes |
code | string | Yes |
message | string | Yes |
details | string | Yes |
path | string | Yes |
timestamp | string | Yes |
identifier | string | Yes |
violations | array | No |
// Bad request. This may imply that the given request has invalid syntax.