Hello community,
I want to create a new user silently on OnPremise-AppDynamics-Controller by using the 'Create Central Identity User API' by using the command
curl -H "Content-Type: application/vnd.appd.cntrl+json;v=1" -X POST -d '{"email": "mynewuser@web.de", "security_provider_type": "INTERNAL", "displayName": "MyNewUser"}' -u appd_admin@customer1 https://myappd.controller.net:8181/controller/api/rbac/v1/ci-user
The response is the following:
Central identity user creation flag is not enabled.
The user I specify when issuing the command is the admin user created when the controller was installed.
This user got the following roles (requested with command api/rbac/v1/users/<id>😞
"roles":
"id": 17,"name": "Dashboard Viewer"
"id": 18,"name": "Workflow Executor"
"id": 20,"name": "DB Monitoring User"
"id": 23,"name": "Server Monitoring User"
"id": 25,"name": "Universal Agent User"
"id": 14,"name": "Account Administrator"
"id": 16,"name": "User"}],
On Controller Web-Gui this user includes several default roles like 'Account Owner'. Creation of new users is possible there.
With this user I'm able to create roles and groups via API but no users.
On the API docs there is the hint:
You must be the account owner or have the administer user permissions to use the Create Central Identity User API.
But this I am.
The Controller version is
AppDynamics Controller build 21.4.16-1589
The JDK is
openjdk version "1.8.0_322"
OpenJDK Runtime Environment (Zulu 8.60.0.22-SA-linux64) (build 1.8.0_322-b06)
OpenJDK 64-Bit Server VM (Zulu 8.60.0.22-SA-linux64) (build 25.322-b06, mixed mode)
The OS is
Red Hat Enterprise Linux 8.8 (Ootpa)
I'm grateful for any help.
Hello @Frank.Breuer ,
POST /controller/api/rbac/v1/users
Hello @Frank.Breuer ,
POST /controller/api/rbac/v1/users