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

Parameter

Description

hostname

Cantara worker hostname

port

Cantara worker listening port (only required if non-standard HTTP/s port

context

Cantara worker web application context

version

Cantara 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/

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

Response Body Parameters

Path

Description

value

Message description

origin

origin host

type

Message type identifier

cantaraSid

Web application server session ID