Overview
Thescim client implements the SCIM 2.0 protocol for automated user provisioning. It supports both SCIM token management (for authenticating your identity provider) and full SCIM 2.0 user lifecycle operations.
Access the SCIM client via client.scim.
Token Management
SCIM tokens authenticate your identity provider (IdP) when it provisions users. Tokens are bearer tokens — the raw secret is only returned once at creation time.Create Token
ScimTokenWithSecret
List Tokens
ListScimTokensResponse
ScimToken
Revoke Token
User Operations
SCIM 2.0 user operations support the full user lifecycle: create, read, update (full and partial), list, and delete.List Users
Parameters
Both parameters are keyword-only.
ScimListResponse
Create User
CreateScimUserParams
Get User
Replace User (PUT)
Full replacement of a user’s attributes:Update User (PATCH)
Partial update using SCIM Operations:Delete User
Deprovision a user:ScimUser Type
TheScimUser frozen dataclass has the following fields: