Delete All Sessions

delete

/essbase/rest/v1/sessions

Deletes all the sessions currently active, or kills all the requests currently processing.

Request

Query Parameters
Back to Top

Response

Supported Media Types

200 Response

1. Deletes all the sessions for the parameter 'application', 'database' and 'userid' provided. If no parameters are specified, deletes all active sessions.

2. Cannot disconnect user. Essbase Error(1051041): Insufficient privilege for this operation.

400 Response

Bad Request

Essbase or platform security exception.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to terminate all active user sessions on the Essbase Server.

This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat.

Script with cURL Command

call properties.bat
curl -X DELETE "https://myserver.example.com:9001/essbase/rest/v1/sessions?links=none" -H Accept:application/json -H Content-Type:application/json -u %User%:%Password%
Back to Top