Provision Application Role to User or Group
/essbase/rest/v1/applications/{app}/permissions/{id}
Provisions 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
- application/json
- application/xml
-
app(required): string
Application name.
-
id(required): string
User or group ID.
User or group provisioning information.
object-
group:
boolean
true or false. Whether the id refers to a group.
-
id:
string
-
links:
array links
-
name:
string
-
role:
string
Response
- application/json
- application/xml
204 Response
OK
Provisioned successfully.
400 Response
Bad Request
The logged in user may not have the appropriate application role.
409 Response
Conflict
The user/group being provisioned is stale and it has been removed from identity store
500 Response
Internal Server Error.
Examples
The following example shows how to provision one user or group's access to 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 PUT "https://myserver.example.com:9001/essbase/rest/v1/applications/Sample/permissions/User001" -H "accept: application/json" -H "Content-Type: application/json" -d '{"id": "User001", "role": "db_access", "group": false}' -u %User%:%Password%