Example Usage
import { ListScimOrganizationRoleMappingsResponse } from "@openrouter/sdk/models";
let value: ListScimOrganizationRoleMappingsResponse = {
data: [
{
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",
},
],
roleMappingEnabled: false,
totalCount: 946763,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
data | models.ScimOrganizationRoleMapping[] | ✔️ | N/A |
roleMappingEnabled | boolean | ✔️ | Whether organization role mapping is enabled for the SCIM directory. Enable it in the dashboard before creating or deleting mappings. |
totalCount | number | ✔️ | N/A |