How to perform a TrueSight REST API logout

Version 2
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Infrastructure Management


    COMPONENT:

    TSIM ReSTful API


    APPLIES TO:

    Truesight 10.x



    PROBLEM:

    How to perform a TrueSight REST API logout


    CAUSE:

    In the documentation it is not mentioned that you do need to provide the authToken as part of the request body!


    SOLUTION:

    The section "Ending the validity of an authentication token" of this documentation page:
    https://docs.bmc.com/docs/display/tsim107/Web+services+authentication
    This gives the details of the logout API.

    In the documentation it is not mentioned that you do need to provide the authToken as part of the request body!

    So for example giving a body like this:
    {
     
     "authToken":"AQIC5wM2LY4Sfczk6ZfezMaGRMTrdtSunD7FUhlW5PPOoCo.*AAJTSQACMDIAAlNLABQtMjYwOTA1OTgzNDM3NzgxMjU3OQACUzEAAjAx*"
     }
    should help the API to work.

    Attached is an  example screenshot of how it worked.
     


    Article Number:

    000146386


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles