| Field | Type | Required | Description | Example |
|---|
players | array | Yes | The list of player ID’s to join this session. | "" |
curl --location --request DELETE 'https://api.sandbox-gameye.gameye.net/session/player/leave' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var raw = JSON.stringify({
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({
response = https.request(request)
url = "https://api.sandbox-gameye.gameye.net/session/player/leave"
'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.