/mgmt/config/default/SystemSettings PUT
Use the HTTP PUT method with the
/mgmt/config/default/SystemSettings/System-Settings
resource to amend system
settings.
Resource URL
https://host:port/mgmt/config/default/SystemSettings/System-Settings
Where
port is 5554 by default.Request headers
The following header must be sent with the request:
- Authorization
- This header must be sent to perform authentication.
Request body format
The request is in JSON format. It can contain the following fields, depending on the system
setting that you want to update:
- mAdminState
- String.
- EntitlementNumber
- String
- Contact
- String
- SystemName
- String
- Location
- String
- AuditReserve
- Integer
- DetectIntrusion
- String
- Locale
- String
- SystemLogFixedFormat
- String
Security requirements
The caller must be authenticated as an appliance user with sufficient authority. For more information about security, see Types of user and how they are authenticated and User authorization, credential mapping, and access profiles.
Response status codes
- 200
- The system settings were successfully updated.
- 400
- Invalid data provided.
- 401
- Not authenticated.
- 403
- Not authorized.
Response headers
- Content-Type
- This header is returned with a value of
application/json
.
Response body format
The response is in JSON format. Each object contains the following fields:
- self
- String.
- doc
- String.
- Location
- String.
Examples
The following example sets the location of the appliance to be "basement west rack 10".
The following URL is used with the HTTP PUT
method:
PUT /mgmt/config/default/SystemSettings/System-Settings
The following listing shows the request:
{
"SystemSettings" : {
"name" : "System-Settings",
"Location" : "basement west rack 10"
}
}
After the Location field is updated, the following response is
returned:{
"_links" : {
"self" : {
"href" : "/mgmt/config/default/SystemSettings/System-Settings"
},
"doc" : {
"href" : "/mgmt/docs/config/SystemSettings"
}
},
"System-Settings" : "Configuration was updated."
}