Set the admin superuser ID
Purpose
Sets the admin superuser ID.URI
Use the Eclipse Amlen REST API POST method with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:Port>/ima/v1/configuration/
Object configuration data
Provide object configuration data in the payload of the POST method by using the following schema. Content-type is set to application/json.
{
"AdminUserID": "string"
}
Where:- AdminUserID
- Specifies the admin superuser ID.
Usage NotesĀ®
- Capitalization and double quotation marks must be used as shown.
Related REST Administration APIs
Example
Sets the admin superuser ID to "testAdminUser" by using cURL:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"Version": "v1",
"AdminUserID": "testAdminUser"
}
' \
http://127.0.0.1:9089/ima/v1/configuration/
An example response to the POST method:
{
"Version": "v1",
"Code": "CWLNA6011",
"Message": "The requested configuration change has completed successfully."
}