Overview
Management endpoints for SCIM group-to-workspace mappings, authenticated with a management key. These are not the SCIM 2.0 connector endpoints for your identity provider. In your identity provider, enter the SCIM endpoint URL shown when you enable provisioning under Settings > Members > SCIM Mappings. See https://openrouter.ai/docs/guides/features/scim-mappings#set-up-provisioning.Available Operations
- ListMappings - List SCIM group mappings
- Create - Create a SCIM group mapping
- Delete - Delete a SCIM group mapping
- Read - Get a SCIM group mapping
- Update - Update a SCIM group mapping
- ListGroups - List SCIM groups
- ListOrganizationRoleMappings - List SCIM organization role mappings
- CreateOrganizationRoleMapping - Create a SCIM organization role mapping
- DeleteOrganizationRoleMapping - Delete a SCIM organization role mapping
- CreateSyncJob - Start a SCIM directory sync
- GetSyncJob - Get SCIM directory sync status
ListMappings
List SCIM group-to-workspace mappings for the organization. Management key required.Example Usage
Parameters
Response
*operations.ListScimGroupMappingsResponse, errorErrors
Create
Create a SCIM group-to-workspace role mapping. Creating a mapping that already exists with the same role succeeds and re-applies the mapping to the group members. Requesting a different role for an existing mapping returns 409. Management key required.Example Usage
Parameters
Response
*components.CreateScimGroupMappingResponse, errorErrors
Delete
Delete a SCIM group-to-workspace mapping. Deleting a mapping that has guardrail policies attached returns403 unless the organization has guardrail policy management enabled and the key also has guardrail-update authority, in which case deleting the mapping releases its attached guardrail assignments. Management key required.
Example Usage
Parameters
Response
*components.DeleteScimGroupMappingResponse, errorErrors
Read
Get a SCIM group-to-workspace mapping. Management key required.Example Usage
Parameters
Response
*components.GetScimGroupMappingResponse, errorErrors
Update
Update a SCIM group mapping role. Management key required.Example Usage
Parameters
Response
*components.UpdateScimGroupMappingResponse, errorErrors
ListGroups
List SCIM groups for the organization. Management key required.Example Usage
Parameters
Response
*operations.ListScimGroupsResponse, errorErrors
ListOrganizationRoleMappings
List the SCIM group-to-organization-role mappings for the organization, and whether organization role mapping is enabled. Management key required.Example Usage
Parameters
Response
*components.ListScimOrganizationRoleMappingsResponse, errorErrors
CreateOrganizationRoleMapping
Map a SCIM group to an organization role (admin or member). Members of the group receive that organization role on their next SCIM sync. Organization role mapping must be enabled for the SCIM directory in the dashboard; otherwise writes return 409. Management key required.
Example Usage
Parameters
Response
*components.CreateScimOrganizationRoleMappingResponse, errorErrors
DeleteOrganizationRoleMapping
Delete a SCIM group-to-organization-role mapping. Deleting the lastadmin mapping returns 409. Organization role mapping must be enabled for the SCIM directory in the dashboard; otherwise writes return 409. Management key required.