API V2
API Reference
/session/{id}
1 min
code examples curl location globoff request delete 'https //api sandbox gameye gameye net/session/{id}' \\ \ header 'accept application/json' \\ \ header 'content type application/json'import requests import json url = "https //api sandbox gameye gameye net/session/{id}" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("delete", url, headers=headers, data=payload) print(response text) var options = new restclientoptions("https //api sandbox gameye gameye net") { maxtimeout = 1, }; var client = new restclient(options); var request = new restrequest("/session/{id}", method delete); request addheader("accept", "application/json"); request addheader("content type", "application/json"); restresponse response = await client executeasync(request); console writeline(response content);var request = require('request'); var options = { 'method' 'delete', 'url' 'https //api sandbox gameye gameye net/session/{id}', 'headers' { 'accept' 'application/json', 'content type' 'application/json' } }; request(options, function (error, response) { if (error) throw new error(error); console log(response body); }); responses // the session has successfully been terminated // you are not authorized to stop a session please make sure that the included bearer token is correct { "statuscode" 0, "code" "", "message" "", "details" "", "path" "", "timestamp" "", "identifier" "", "violations" \[ { "field" "", "description" "" } ] }// the specified session does not exist please provide a correct session id { "statuscode" 0, "code" "", "message" "", "details" "", "path" "", "timestamp" "", "identifier" "", "violations" \[ { "field" "", "description" "" } ] }// this session has already been terminated { "statuscode" 0, "code" "", "message" "", "details" "", "path" "", "timestamp" "", "identifier" "", "violations" \[ { "field" "", "description" "" } ] }
