Skip to main content

scim_users

Creates, updates, deletes, gets or lists a scim_users resource.

Overview

Namescim_users
TypeResource
Idcloudflare.zero_trust.scim_users

Fields

The following fields are returned by SELECT queries:

List SCIM User resources response

NameDatatypeDescription
idstringThe unique Cloudflare-generated Id of the SCIM resource. (example: bd97ef8d-7986-43e3-9ee0-c25dda33e4b0)
activebooleanDetermines the status of the SCIM User resource.
displayNamestringThe name of the SCIM User resource. (example: John Smith)
emailsarray
externalIdstringThe IdP-generated Id of the SCIM resource. (example: john_smith)
metaobjectThe metadata of the SCIM resource.
schemasarrayThe list of URIs which indicate the attributes contained within a SCIM resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_accountselectidentity_provider_id, account_idcf_resource_id, idp_resource_id, username, email, name, page, per_pageLists SCIM User resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
identity_provider_idstring
cf_resource_idstring
emailstring
idp_resource_idstring
namestring
pageinteger
per_pageinteger
usernamestring

SELECT examples

Lists SCIM User resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).

SELECT
id,
active,
displayName,
emails,
externalId,
meta,
schemas
FROM cloudflare.zero_trust.scim_users
WHERE identity_provider_id = '{{ identity_provider_id }}' -- required
AND account_id = '{{ account_id }}' -- required
AND cf_resource_id = '{{ cf_resource_id }}'
AND idp_resource_id = '{{ idp_resource_id }}'
AND username = '{{ username }}'
AND email = '{{ email }}'
AND name = '{{ name }}'
AND page = '{{ page }}'
AND per_page = '{{ per_page }}'
;