---
title: "Change the IdP claim mappings and connector lookups (two-step)"
method: PUT
path: "/api/orgs/{orgId}/attribute-sources"
tags: ["attributes"]
---

# Change the IdP claim mappings and connector lookups (two-step)

`PUT /api/orgs/{orgId}/attribute-sources`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/orgs/{orgId}/attribute-sources`
- Auth: none declared

## Path parameters

- `orgId` string, required

## Request body

- PutAttributeSourcesBody
  - `claims` object[]
    - `attribute` string, required
    - `claim` string, required
    - `via` 'scim' | 'sso'
  - `connectors` object[]
    - `id` string, required
    - `attribute` string, required
    - `connectorId` string, required
    - `table` string, required
    - `valueColumn` string, required
    - `matchColumn` string, required
    - `matchOn` 'email' | 'phone' | 'principal' | 'attribute', required
    - `matchAttribute` string
    - `ttlHours` integer
    - `enabled` boolean
  - `confirm` boolean: false = return a preview only; true = apply the change.

## Response `200`

Preview or result.

- union
  - AttributesPreview
    - `preview` object, required
  - AttributesApplied
    - `applied` object, required

## Other responses

- `400`: Invalid.
- `403`: Forbidden.
- `404`: Not found.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
