Provision Service Role
/essbase/rest/v1/permissions/{id}
Provisions a single user or group for an Essbase service role. Service roles include Service Administrator, Power User, and User.
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
-
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
User or group provisioned successfully.
400 Response
Bad Request
The logged in user may not have the required service administrator 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 a single user or group for a service role.
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 PUT "https://myserver.example.com:9001/essbase/rest/v1/permissions/user1" -H "accept: application/json" -H "Content-Type: application/json" -d '{"links": [ {"rel": "string", "href": "string", "method": "string", "type": "string"} ], "id": "user1", "name": "user1", "role": "service_administrator", "group": false}' -u %User%:%Password%cURL Sample Template for MSAD Provisioning
To provision a Microsoft Active Directory user named user1 with service_administrator role, issue the request below as the WebLogic Administrator account. Replace <weblogic_admin_user>, <weblogic_admin_password>, <Essbase_Host>, <Essbase_Managed_Server_Port>, and <user1> with appropriate values.
curl -X PUT -u <weblogic_admin_user>:<weblogic_admin_password> "https://<Essbase_Host>:<Essbase_Managed_Server_Port>/essbase/rest/v1/permissions/user1" -H "accept: application/json" -H "Content-Type: application/json" -d '{"links": [ {"rel": "string", "href": "string", "method": "string", "type": "string"} ], "id": "user1", "name": "user1", "role": "service_administrator", "group": false}'