4.18h

TextMarks API V2 - AutoDoc: TextMarkManager / user_session_terminate()

Method: user_session_terminate() (POST) - Terminate an active session with a particular user

Package: TextMarkManager - Manage a TextMark owned by authenticated user (... View package)

Args:

Req? Name Type Description Test
REQ auth_user User User account / phone# used for login
REQ auth_pass Password Password
REQ tm TextMark TextMark keyword/TRI owned by auth_user
REQ user User User account / phone# to terminate sesion with
OPT api_key API Key API Key (Register here)

Test:


Docs:

  • If the TextMark is configured as sticky and the user has an active sticky session with the TextMark, then terminate the session.
  • If the user does not currently have an active session with the TextMark, receive error #2042 (ERR_REQUEST_ALREADY_DONE). This however does not guarantee the user is out of any session, because he may have one with another TextMark.
  • Session is terminated silently (i.e. user receives no notification).

Resp:

JSON response.head.rescode==0 for success, or error code otherwise.
JSON-P callback: (as 'jsonp' param, optional) (blank for none)

HTTP:

POST https://api2ssl.textmarks.com//TextMarkManager/user_session_terminate/

More:

This page documents a single API function user_session_terminate() within the TextMarkManager package of the TextMarks Text Message API.
You may use the interactive form above to invoke this function and observe its actual JSON response.

More resources: