SCIM
Create a SCIM organization role mapping
Changed onMap 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.
post/scim/organization-role-mappings
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Request body
Create Scim Organization Role Mapping Request required
role, 'admin' | 'member' required
Organization role granted to members of the mapped SCIM group.
scim_group_id, string uuid required
Example request
{
"role": "member"
}Response
SCIM organization role mapping created
Create Scim Organization Role Mapping Response required
data, Scim Organization Role Mapping 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
- info
endpoint added
- info