Example Usage
import { ScimOrganizationRoleMapping } from "@openrouter/sdk/models";
let value: ScimOrganizationRoleMapping = {
createdAt: "2025-08-24T10:30:00.000Z",
id: "scimgrm_2abc123",
precedence: 1,
role: "member",
scimGroupDisplayName: "Engineering",
scimGroupId: "550e8400-e29b-41d4-a716-446655440000",
updatedAt: "2025-08-24T10:30:00.000Z",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
createdAt | string | ✔️ | N/A | |
id | string | ✔️ | N/A | |
precedence | number | ✔️ | Resolution order when a user is in several mapped groups; lower wins. | |
role | models.ScimOrganizationRoleMappingRole | ✔️ | Organization role granted to members of the mapped SCIM group. | member |
scimGroupDisplayName | string | ✔️ | N/A | |
scimGroupId | string | ✔️ | ID of the SCIM group (from GET /scim/groups). null when the identity provider group has not been synced yet. | |
updatedAt | string | ✔️ | N/A |