SCIM API requests¶
Identity providers can use a SCIM client to make RESTful API requests to the Snowflake SCIM server. After validating the API request, Snowflake performs actions requested by the identity providers on users or groups. For information about authenticating SCIM API requests, see Authenticating SCIM API requests.
Note
The Snowflake SCIM API lets you manage users and groups in Snowflake from your identity provider. If you make changes to users and groups in Snowflake directly, the changes don’t synchronize with your identity provider.
Snowflake provides the following SCIM APIs:
User API: Allows identity providers to do the following actions:
Check whether users exist.
Get details about users.
Create and activate users.
Update user attributes.
Delete and activate users.
Group API: Allows identity providers to do the following actions:
Get details about groups.
Create groups.
Update groups.
Delete groups.
For additional examples, see the Postman collection.
Auditing SCIM API requests¶
You can query Snowflake to find information about SCIM API requests that were made over a span of time. You can use this information to see whether your organization’s active users match the users provisioned into Snowflake.
For example, to determine which SCIM API requests were made in the last five minutes, with a maximum of 200 requests to be returned, you can use the Information Schema table function REST_EVENT_HISTORY:
For more information on how to modify this query, see DATEADD and CURRENT_TIMESTAMP.