it is not the case in my usecase.
I'm developping mobile application which is displaying Mashup in IFrame and I must programatically kill the user sessions via REST API (but I cannot use appKey as I have session running in my current application context). Moreover - I cannot delete JSESSION cookie from my app due to framework issues
You can just use Logout-button to learn how to kill the session and then just call the same REST API end point to do the same from yours app.
We already developed an App with ionic framework and we did that way, but we use login to get a App Key, and store App Key on the App itself, then later on use that App Key to connect. Let me check our code:
- Logout endpoint: /Thingworx/Server/*/Services/Logout
- Method: POST
- Content-Type: application/json
- Accept: application/json
Hope this helps,