logout
logout
Destroys a user’s session.
Parameters
Name | Description |
node_id optional | Node ID |
user_id optional | User ID |
username optional | Username |
email optional | |
core_u optional | Core U |
ip optional | IP Address |
Request Syntax
https://services.onesite.com/1/session/logout.json?node_id=188234&user_id=229928503&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "code":100, "message":"Logout successful.", "content":{ "uniqueId":"79dff1" } } |
Service Information
Service | session |
Method | logout |
Type | REST |
Response Types | JSON, XML |