Stop viewing as somebody
DELETE
/me/support-session
const url = 'https://example.com/me/support-session';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/me/support-sessionEnds the support session this request was made with. For the member of staff behind it, when they are done. Anything else is not a support session, and is left alone.
Responses
Section titled “Responses”Ended
Not signed in
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Not a support session
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}