/cm/service/roles/{roleName}/config

Mount Point: /api/v10/cm/service/roles/{roleName}/config

GET

Retrieve the configuration of a specific Cloudera Management Services role.

Parameters

name description type default
roleName The role to look up. path
view The view of the data to materialize, either "summary" or "full". query summary

Response Body

element: configList

List with configured and available configuration options.

PUT

Update the configuration of a Cloudera Management Services role.

If a value is set in the given configuration, it will be added to the role'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.

Parameters

name description type default
roleName The role to modify. path
message Optional message describing the changes. query

Request Body

element: configList

Configuration changes.

Response Body

element: configList

The new service configuration.