v54

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

Update organization IdP Sync mapping

patch/api/v2/settings/idpsync/organization/mapping

Request body

Response

OK

fieldstring

Field selects the claim field to be used as the created user's organizations. If the field is the empty string, then no organization updates will ever come from the OIDC provider.

mappingobject

Mapping maps from an OIDC claim --> Coder organization uuid

organization_assign_defaultboolean

AssignDefault will ensure the default org is always included for every user, regardless of their claims. This preserves legacy behavior.