Skip to main content

Logout Services

To terminate a users session you would call the logout service.


Logout

Endpoint: http(s)://[hostname]:[port]/[context]/service/[version]/server/logout

Method: POST

Content-Type: application/json or application/xml

Accept: application/json or application/xml

Path Parameters

ParameterDescription
hostnameCantara worker hostname
portCantara worker listening port (only required if non-standard HTTP/s port
context

Cantara worker web application context

versionCantara worker API version



On This Page

Execute Logout

Example Logout Request URL : POST /service/50/service/logout


Example Endpoint: https://us.cantara.cloud/cantara/service/50/server/logout/

Response Body

JS
{
    "value": "Transaction Successful",
    "origin": "Worker7@6c101b96c994",
    "type": 0,
    "cantaraSid": "94629d0a-c3da-44a4-920d-271960d2ad12"
}

Response Body Parameters

PathDescription
valueMessage description
originorigin host
typeMessage type identifier
cantaraSidWeb application server session ID
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.