Log Off Sessions

Log Off Sessions

Logs off user sessions, if they are not locked.

Request
URI
POST
https://{api_host}//localhost/rest/inventory/v1/sessions/action/logoff
COPY
Query Parameters
boolean
forced
Optional

Indicates to Log off session forcibly. If passed as "true", then sessions are logoff forcibly, even if they are locked. If passed as "false" or not passed at all, then sessions will be normally logged off, if they are not locked.


Request Body

List of session ids to be logged off.

Array of string of type(s) application/json
Optional
[
    {}
]
Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "error_messages": [
            "Entity does not exists.",
            "Property is mandatory."
        ],
        "id": "6f85b3a5-e7d0-4ad6-a1e3-37168dd1ed51",
        "status_code": 200,
        "timestamp": 1561939200000
    }
]

400

Bad Request

Operation doesn't return any data structure

401

User is not authenticated

Operation doesn't return any data structure