SCIM

List SCIM organization role mappings

Changed on

List the SCIM group-to-organization-role mappings for the organization, and whether organization role mapping is enabled. Management key required.

get/scim/organization-role-mappings

Request

  • Base URL
    https://openrouter.ai/api/v1
  • Auth
    HTTP bearer

Response

List of SCIM organization role mappings

ListScimOrganizationRoleMappingsResponse required
data, ScimOrganizationRoleMapping[] required
role_mapping_enabled, boolean required

Whether organization role mapping is enabled for the SCIM directory. Enable it in the dashboard before creating or deleting mappings.

total_count, integer required

Example response

{
  "data": [
    {
      "created_at": "2025-08-24T10:30:00.000Z",
      "id": "scimgrm_2abc123",
      "precedence": 1,
      "role": "member",
      "scim_group_display_name": "Engineering",
      "scim_group_id": "550e8400-e29b-41d4-a716-446655440000",
      "updated_at": "2025-08-24T10:30:00.000Z"
    }
  ]
}

Changes