Deprovision User or Group from Application
/essbase/rest/v1/applications/{app}/permissions/{id}
Deprovisions a single user or group on the specified application.
If you are using EPM Shared Services security mode, this operation is not available. Instead, manage users, groups, and permissions in the Shared Services Console.
Request
-
app(required): string
Application name.
-
id(required): string
User or group ID.
-
group: boolean
If true, ID is for a group. If false, ID is for a user. Default is false (ID is considered to be for a user.)
Default Value:false
Response
- application/json
- application/xml
200 Response
OK
Deprovisioned successfully.
400 Response
Bad Request
The logged in user may not have the appropriate application role.
500 Response
Internal Server Error.
Examples
The following example shows how to deprovision an Essbase user from accessing an application, using cURL to call 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/rest/v1/applications/Sample/permissions/User001?group=false" -H "accept: application/json" -u %User%:%Password%