Remove Calc Script Permissions

delete

/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/scripts/{scriptName}/permissions/{userGroupId}

Removes permissions from the specified script for the specified user or group. Applicable only for calculation scripts.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

204 Response

No Content

Script permission removed successfully.

400 Response

Bad Request

Failed to delete permissions for the script. The application, database, or script name may be incorrect, or the user or group ID may be incorrect.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to use the Essbase REST API to remove a user's or group's permission to run a particular calc script.

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/applications/Sample/databases/Basic/scripts/actuals/permissions/user2 -H "accept: application/json" -u %User%:%Password%
Back to Top