on ‎2022 Oct 05 6:52 PM
Hi
Are there any API calls to administer Users in EnableNow manager? We would like to automate the termination of User accounts in EnableNow.
Thanks
Sasi
Request clarification before answering.
Thanks Anton, will give this a try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can create a local "service account" in SAP Enable Now, and then use the Basic Authentication for GET/POST requests sent on behalf of this user.
To lookup for UIDs, you can try the GET request that is triggered when you click Administration - Users in Manager.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Anton, this helps. Is there any better way to look up UID for a given User? Currently I see a URL based out of my current session, do you think I can use the same with UserID/Password or oAuth?
Thanks
Sasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, they are, however not documented. Please use the Chrome/Edge developer console to find out what APIs are triggered for certain operations.
In your case, for user deactivation, you need to get the users list first, find the Enable Now UserID, and then submit a POST request like the one shown below.
U_0F3CBC02FB7F43E2940B2822FD5D6B5A - is the SAP Enable Now ID of the user I'm deactivating.

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.