Sign-out Rest API from User Function

Users should sign out using the Sign-out Rest API to log out from all user function APIs.

Note: The Sign-out Rest API applies to IBM Connect:Direct Web Services nodes.

Admin Sign-out:

Method URI

DELETE

/cdwebconsole/svc/signout

The following example shows the Command:
curl -X 'DELETE' \
                          'https://172.20.183.89:9443/cdwebconsole/svc/signout' \
                          -H 'Authorization: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yOjE3Mi4yMC4xODYuMjAzOjEzNjM6MTU0NzRkOGItYTRjZC00ZDVjLTg5NzMtZTIzYTZiYjA1YmM5IiwiZXhwIjoxNzE1MDAwNTE0fQ.028GAKiMpFaauKYkd7VDA1iC-IbcHgD_OWsuO_A0RLARyiQizOrHKhGBsttmadmiwUUE4OsL9VOddOC3MCj8uQ' \
                          -H 'Content-Type: application/json' \
                          -H 'X-XSRF-TOKEN: f124e232-0cdd-4a61-b882-63c1a45c8df8'
The following example shows the HTTP User Request:
{

                         "userAccessToken":"eyJhbGciOiJIUzUxMiJ9****"

                      }
The following example shows the HTTP Sample Response:
{
                "signOut":true,
                "userId":"administrator"
              }