Minctrl Docs

Replace the IdP group → role mapping (owner / admin)

PUT
/sso/group-mappings

With at least one mapping, a member's role follows the IdP on every SSO sign-in and SCIM group change: the highest role among their mapped groups, or the connection's default role when none matches. The owner is never demoted; owner is granted only when the company has none.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/sso/group-mappings" \  -H "Content-Type: application/json" \  -d '{    "mappings": [      {        "group": "string",        "role": "string"      }    ]  }'
{}