v54

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Enterprise

Update role IdP Sync config

patch/api/v2/organizations/{organization}/settings/idpsync/roles/config

Path parameters

organizationstring uuid required

Organization ID or name

Request body

fieldstring

Response

OK

fieldstring

Field is the name of the claim field that specifies what organization roles a user should be given. If empty, no roles will be synced.

mappingobject

Mapping is a map from OIDC groups to Coder organization roles.