/cm/service/autoAssignRoles
Mount Point: /api/v10/cm/service/autoAssignRoles
PUT
Automatically assign roles to hosts and create the roles for the Cloudera Management Service.
Assignments are done based on number of hosts in the deployment and hardware specifications. If no hosts are part of the deployment, an exception will be thrown preventing any role assignments. Existing roles will be taken into account and their assignments will be not be modified. The deployment should not have any clusters when calling this endpoint. If it does, an exception will be thrown preventing any role assignments.
Available since API v6.