SCIM
Create a SCIM group mapping
Changed onCreate 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.
post/scim/group-mappings
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Request body
Create Scim Group Mapping Request required
role, 'admin' | 'member' required
scim_group_id, string uuid required
workspace_id, string uuid required
Response
SCIM group mapping created
Create Scim Group Mapping Response required
data, Scim Group Mapping required
Example response
{
"data": {
"created_at": "2025-08-24T10:30:00.000Z",
"id": "770e8400-e29b-41d4-a716-446655440000",
"organization_id": "org_123456",
"role": "member",
"scim_group_id": "550e8400-e29b-41d4-a716-446655440000",
"updated_at": "2025-08-24T10:30:00.000Z",
"workspace_id": "660e8400-e29b-41d4-a716-446655440000"
}
}Changes
- info
endpoint reactivated
- info
- info
endpoint deprecated
- info