---
title: "Update Role Mining Config"
method: POST
path: "/api/v1/role-mining/config"
tags: ["Role Mining"]
---

# Update Role Mining Config

`POST /api/v1/role-mining/config`

Invokes the c1.api.role_mining_management.v1.RoleMiningManagementService.UpdateRoleMiningConfig method.

## Request body

- C1ApiRoleMiningManagementV1UpdateRoleMiningConfigRequest — The UpdateRoleMiningConfigRequest message.
  - `cohortHints` C1ApiRoleMiningManagementV1CohortHintInput[], nullable — The cohortHints field.
    - `attribute` string — The attribute field.
    - `priority` integer — The priority field.
    - `values` string[], nullable — The values field.
  - `maxSuggestions` integer — The maxSuggestions field.
  - `minCohortSize` integer — The minCohortSize field.

## Response `200`

Successful response

- C1ApiRoleMiningManagementV1UpdateRoleMiningConfigResponse — The UpdateRoleMiningConfigResponse message.
  - `config` C1ApiRoleMiningManagementV1RoleMiningManagementConfig — The RoleMiningManagementConfig message.
    - `cohortHints` C1ApiRoleMiningManagementV1CohortHintView[], nullable — The cohortHints field.
      - `attribute` string — The attribute field.
      - `priority` integer — The priority field.
      - `values` string[], nullable — The values field.
    - `maxSuggestions` integer — The maxSuggestions field.
    - `minCohortSize` integer — The minCohortSize field.

## Changes

- **2026-03-18** `8a0bdc21dd5f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/role-mining/config/post.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) · [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/8a0bdc21dd5f/schema)
