{"__v":2,"_id":"56951cabfcb1032d0089df7d","category":{"__v":4,"_id":"56951b2dfcb1032d0089df7a","pages":["56951c85562335190016da7d","56951c952e5eb41700901a6a","56951cabfcb1032d0089df7d","56951d07fe18811700c9bf90"],"project":"563cc7119799fb0d00047685","version":"563cc7119799fb0d00047688","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-01-12T15:26:37.496Z","from_sync":false,"order":8,"slug":"sessions","title":"Sessions"},"editedParams":true,"editedParams2":true,"parentDoc":null,"project":"563cc7119799fb0d00047685","user":"563cc6fa8894d20d00014ea3","version":{"__v":16,"_id":"563cc7119799fb0d00047688","project":"563cc7119799fb0d00047685","createdAt":"2015-11-06T15:28:17.683Z","releaseDate":"2015-11-06T15:28:17.683Z","categories":["563cc7129799fb0d00047689","566f37f37ffa002300c3cd5b","56914e9bd47b020d002225ac","5692b19ffe72e00d00e4f0a8","56940bc2d8c04d1700e5adb6","56940bc83e9d080d00f064f0","56951b2dfcb1032d0089df7a","569522aecaa32519009c410c","569523ce562335190016da97","569523fddcaf0d1700cb86bf","56980e4a8560a60d00e2c3c3","569921a41693520d002e1305","5699323b7465970d00650b82","569e6cc4fbee990d0072d927","56a2768a0aefae0d00b7fe66","5862e862b8b7fa23009665b7"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Model T","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-12T15:32:59.995Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"DELETE /v1/userSessions/02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-11T21:47:29.396Z HTTP/1.1\nHost: api.drivewealth.io\nAccept: application/json\nContent-Type: application/json\nx-mysolomeo-session-key: 02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z","language":"http"},{"code":"curl -X DELETE -H \"Accept: application/json\" -H \"Content-Type: application/json\" -H \"x-mysolomeo-session-key: 02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z\" 'https://api.drivewealth.io/v1/userSessions/02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-11T21:47:29.396Z'","language":"curl"}]},"results":{"codes":[{"status":200,"language":"json","code":"","name":""},{"status":401,"language":"json","code":"{\n    \"code\": 401,\n    \"message\": \"Invalid x-mysolomeo-session-key HTTP header [ipAddress=8.8.8.8]\"\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"5696ca5a368f5d0d004c6d5c","ref":"","in":"path","required":true,"desc":"Session key.","default":"02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-11T21:47:29.396Z","type":"string","name":"sessionKey"}],"url":"/userSessions/:sessionKey"},"isReference":true,"order":3,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Response\"\n}\n[/block]\nThe response should be a HTTP status code `200`.","excerpt":"Destroy (aka logout) a user session.","slug":"cancel-session","type":"delete","title":"Cancel Session"}

deleteCancel Session

Destroy (aka logout) a user session.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

sessionKey:
required
string02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-11T21:47:29.396Z
Session key.

Examples


Documentation

[block:api-header] { "type": "basic", "title": "Response" } [/block] The response should be a HTTP status code `200`.

User Information

Try It Out

delete
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}