End a Session

This API allows you to end a specific session.

  • Required OAuth Scope:
    ZohoLens.sessionapi.CREATE

  • Endpoint:
    POST /api/v2/session/end

  • Access:
    Session Owner or Org Super Admin only.

  • Parameters:

  • session_id (required):
    The ID of the session you want to end.

Sample Request

Copiedcurl --location --request POST 'https://lens.zoho.com/api/v2/session/end' \ --header 'Authorization: Zoho-oauthtoken {access_token}' \ --data-raw '{"session_id": "{session_id}"}'

Sample Response

CopiedHTTP/1.1 200 OK
For Remote Support,
Content-Type:application/json;charset=UTF-8

{
    "resource_type": "end",
    "representation": {
        "status": true
    }
}