Update the admin endpoint
Purpose
Updates the admin endpoint. The admin endpoint allows you to administer and monitor Eclipse Amlen.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 admin endpoint object configuration data in the payload of the POST method by using the following schema. Content-type is set to application/json:
{
"AdminEndpoint": {
"Description": "string",
"SecurityProfile": "string",
"Port": integer,
"Interface": "string",
"ConfigurationPolicies": "string"
}
}
Where:- Description
- Optional.
- SecurityProfile
- Optional.
- Port
- Optional.
- Interface
- Optional.
- ConfigurationPolicies
- Optional.
Usage NotesĀ®
- Capitalization and double quotation marks must be used as shown.
Related REST Administration APIs
Example
Updates the admin endpoint by using cURL:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"AdminEndpoint": {
"SecurityProfile": "AdminDefaultSecProfile",
"Port": 9089,
"Interface": "10.10.2.149",
"ConfigurationPolicies": "AdminDefaultConfigProfile"
}
}
' \
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."
}