Sign-out Rest API from Admin Function
Users should sign out using the Sign-out Rest API to log out from all admin function APIs.
Note: The Sign-out Rest API applies to IBM Connect:Direct Web Services
admin functions.
Admin Sign-out:
Suspend Process API is used to stop the execution of one or more running Processes and optionally hold it in the Connect:Direct processing queue.
Method | URI |
---|---|
PUT |
/cdwebconsole/svc/admincontroller/signout |
The following example shows the Command:
curl -X 'DELETE' \
'https://172.20.183.89:9443/cdwebconsole/svc/admincontroller/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 show the Sample Response:
{
"adminUserAccessToken":"eyJhbGciOiJIUzUxMiJ9****"
}
Sample Response:
{
"signOut":true,
"userId":"Admin"
}