Set the admin superuser password
Purpose
Sets the admin superuser password.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.
{
"AdminUserPassword": "string"
}
Where:- AdminUserPassword
- Specifies the admin superuser password.
Usage NotesĀ®
- Capitalization and double quotation marks must be used as shown.
Related REST Administration APIs
Example
Sets the admin superuser password to "examplePW" by using cURL:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"Version": "v1",
"AdminUserPassword": "examplePW"
}
' \
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."
}