/hosts/{hostId}/config

Mount Point: /api/v2/hosts/{hostId}/config

GET

Retrieves the configuration of a specific host.

Only available with Cloudera Manager Enterprise Edition.

Parameters

name description type default
hostId The ID of the host. path
view The view of the data to materialize, either "summary" or "full". query summary

Response Body

element: configList

List of host configuration parameters.

PUT

Updates the host configuration with the given values.

If a value is set in the given configuration, it will be added to the host's configuration, replacing any existing entries. If a value is unset (its value is null), the existing configuration for the attribute will be erased, if any.

Attributes that are not listed in the input will maintain their current values in the configuration.

Only available with Cloudera Manager Enterprise Edition.

Parameters

name description type default
hostId The ID of the host. path
message Optional message describing the changes. query

Request Body

element: configList

Configuration changes.

Response Body

element: configList

The new host configuration.