Viewing the admin superuser ID by using REST Administration APIs
System administrators can view the admin superuser ID by using REST Administration APIs.
To view the admin superuser ID, use the Eclipse Amlen REST API GET method with the following Eclipse Amlen URI:
http://<admin-endpoint-IP:Port>/ima/v1/configuration/AdminUserID
The following example shows a GET method to view the admin superuser ID by using cURL:
curl -X GET http://127.0.0.1:9089/ima/v1/configuration/AdminUserID
The following example shows a successful example response to the GET method that was used to view the admin superuser ID:
{
"Version": "v1",
"AdminUserID": "testAdminUser"
}