SCIM (Admin) API
Table of Contents
upsquad/scim/admin/v1/admin.proto
Connection
Connection mirrors a row of scim_connections (minus the raw token).
| Field | Type | Label | Description |
|---|---|---|---|
| id | string | ||
| name | string | ||
| provider | string | provider is one of: "okta" | |
| base_url | string | ||
| status | string | status is one of: "active" | |
| field_mappings | Connection.FieldMappingsEntry | repeated | |
| last_sync_at | google.protobuf.Timestamp | ||
| last_sync_status | string | ||
| token_masked | string | token_masked is a stable display identifier of the form "scim_***<hash[:4]>" derived from the stored HMAC hash. | |
| created_at | google.protobuf.Timestamp | ||
| updated_at | google.protobuf.Timestamp |
Connection.FieldMappingsEntry
| Field | Type | Label | Description |
|---|---|---|---|
| key | string | ||
| value | string |
CreateConnectionRequest
| Field | Type | Label | Description |
|---|---|---|---|
| name | string | ||
| provider | string | ||
| base_url | string | ||
| field_mappings | CreateConnectionRequest.FieldMappingsEntry | repeated |
CreateConnectionRequest.FieldMappingsEntry
| Field | Type | Label | Description |
|---|---|---|---|
| key | string | ||
| value | string |
CreateConnectionResponse
| Field | Type | Label | Description |
|---|---|---|---|
| connection | Connection | ||
| bearer_token | string | bearer_token is returned EXACTLY ONCE on create. Stored as HMAC hash server-side; never retrievable again. Paste into IdP immediately. |
GetConnectionRequest
| Field | Type | Label | Description |
|---|---|---|---|
| id | string |
GetConnectionResponse
| Field | Type | Label | Description |
|---|---|---|---|
| connection | Connection |
GetSyncRunRequest
| Field | Type | Label | Description |
|---|---|---|---|
| id | string |
GetSyncRunResponse
| Field | Type | Label | Description |
|---|---|---|---|
| run | SyncRun |
ListConnectionsRequest
| Field | Type | Label | Description |
|---|---|---|---|
| page_size | int32 | ||
| page_token | string |
ListConnectionsResponse
| Field | Type | Label | Description |
|---|---|---|---|
| connections | Connection | repeated | |
| next_page_token | string |
ListSyncRunsRequest
| Field | Type | Label | Description |
|---|---|---|---|
| connection_id | string | connection_id optional — filter to runs for one connection. | |
| status | string | status optional — one of "running" | |
| from | google.protobuf.Timestamp | ||
| to | google.protobuf.Timestamp | ||
| page_size | int32 | ||
| page_token | string |