Log out of ASMS

The logout request terminates the session, invalidating the session ID for any additional requests.

Resource Name: /fa/server/connection/logout

Request Method: POST

Request:

Element

Type

Description

session

String

Session ID returned in login request.

Response:

Element

Type

Description

SessionIDOnly is returned when the request succeeds.

String

Session ID.

status

String

One of the following:

  • true. Indicates logout succeeded.
  • false. Indicates logout failed.
messageOnly is returned when the request fails.

String

An error message.

Request example

curl -k --data "session=061e25b659d75ac22255133feb628cc2" 'https://192.168.3.198/fa/server/connection/logout'

Response example

{"SessionID": "5f779cceb9c6936926cea98178ec5a61",   "status": true}