Skip to main content
Aria Knowledge Central

kill_session_m Sample Call and Response

This example shows a customer's session in a registration or User Self Service application being ended, based on the kill_session_m method defined in plsql_m_r73.yml.

This is a small utility method with only one documented argument beyond authentication, so this example includes every field the method accepts; it does not invent additional fields the method does not support.

Sample call

{
  "rest_call": "kill_session_m",
  "output_format": "json",
  "client_no": 32409,
  "auth_key": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
  "session_id": "SESS-9F3D2C1A0B8E7D6C"
}

The field session_id is the client-assigned identifier for the application session being ended, and it is the only method-specific required field this call accepts. The fields rest_call and output_format are envelope fields added by the REST layer and are not part of the method's own documented arguments.

Sample response

{
  "error_code": 0,
  "error_msg": "OK"
}

The error_code value of 0 and the error_msg value of "OK" indicate that the session was ended without error. This example leaves out the error_details field entirely, since that field is marked nonpublic in the yml and is not populated in responses to client callers.

TOP
  • Was this article helpful?