SCIM

Create a SCIM organization role mapping

Changed on

Map 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 URL
    https://openrouter.ai/api/v1
  • Auth
    HTTP bearer

Request body

CreateScimOrganizationRoleMappingRequest 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

CreateScimOrganizationRoleMappingResponse required
data, ScimOrganizationRoleMapping 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