POST
/
sessions
/
takeover
/
end
End session takeover
curl --request POST \
  --url https://api.kaizenautomation.com/sessions/takeover/end \
  --header 'Content-Type: application/json' \
  --data '{
  "sessionId": 123
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": 123,
    "sessionId": 123,
    "startedAt": "2023-11-07T05:31:56Z",
    "endedAt": "2023-11-07T05:31:56Z",
    "expiresAt": "2023-11-07T05:31:56Z"
  }
}

Body

application/json

Response

200
application/json

Session takeover ended successfully

The response is of type object.