Skip to content
Start here

User Populations

List user populations
client.zeroTrust.access.userPopulations.list(UserPopulationListParams { account_id, page, per_page } params, RequestOptionsoptions?): V4PagePaginationArray<UserPopulationListResponse { id, name } >
GET/accounts/{account_id}/access/user_populations
Create a user population
client.zeroTrust.access.userPopulations.create(UserPopulationCreateParams { account_id, name } params, RequestOptionsoptions?): UserPopulationCreateResponse { id, name }
POST/accounts/{account_id}/access/user_populations
Get a user population
client.zeroTrust.access.userPopulations.get(stringuserPopulationID, UserPopulationGetParams { account_id } params, RequestOptionsoptions?): UserPopulationGetResponse { id, name }
GET/accounts/{account_id}/access/user_populations/{user_population_id}
Update a user population
client.zeroTrust.access.userPopulations.update(stringuserPopulationID, UserPopulationUpdateParams { account_id, name } params, RequestOptionsoptions?): UserPopulationUpdateResponse { id, name }
PUT/accounts/{account_id}/access/user_populations/{user_population_id}
Delete a user population
client.zeroTrust.access.userPopulations.delete(stringuserPopulationID, UserPopulationDeleteParams { account_id } params, RequestOptionsoptions?): UserPopulationDeleteResponse { id }
DELETE/accounts/{account_id}/access/user_populations/{user_population_id}
ModelsExpand Collapse
UserPopulationListResponse { id, name }
id: string

UUID.

maxLength36
name: string

The name of the user population. Leading and trailing whitespace is trimmed before validation. After trimming, the name must contain at least one non-whitespace character and must not exceed 128 UTF-8 bytes.

maxLength128
minLength1
UserPopulationCreateResponse { id, name }
id: string

UUID.

maxLength36
name: string

The name of the user population. Leading and trailing whitespace is trimmed before validation. After trimming, the name must contain at least one non-whitespace character and must not exceed 128 UTF-8 bytes.

maxLength128
minLength1
UserPopulationGetResponse { id, name }
id: string

UUID.

maxLength36
name: string

The name of the user population. Leading and trailing whitespace is trimmed before validation. After trimming, the name must contain at least one non-whitespace character and must not exceed 128 UTF-8 bytes.

maxLength128
minLength1
UserPopulationUpdateResponse { id, name }
id: string

UUID.

maxLength36
name: string

The name of the user population. Leading and trailing whitespace is trimmed before validation. After trimming, the name must contain at least one non-whitespace character and must not exceed 128 UTF-8 bytes.

maxLength128
minLength1
UserPopulationDeleteResponse { id }
id?: string

UUID.

maxLength36

User PopulationsUsers

List users in a user population
client.zeroTrust.access.userPopulations.users.list(stringuserPopulationID, UserListParams { account_id, attributes, count, 3 more } params, RequestOptionsoptions?): UserListResponse { itemsPerPage, Resources, schemas, 2 more }
GET/accounts/{account_id}/access/user_populations/{user_population_id}/users
Create a user population user
client.zeroTrust.access.userPopulations.users.create(stringuserPopulationID, UserCreateParams { account_id, active, displayName, 6 more } params, RequestOptionsoptions?): UserCreateResponse { id, active, displayName, 6 more }
POST/accounts/{account_id}/access/user_populations/{user_population_id}/users
Get a user population user
client.zeroTrust.access.userPopulations.users.get(stringuserID, UserGetParams { account_id, user_population_id, attributes, excludedAttributes } params, RequestOptionsoptions?): UserGetResponse { id, active, displayName, 6 more }
GET/accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}
Update a user population user
client.zeroTrust.access.userPopulations.users.update(stringuserID, UserUpdateParams { account_id, user_population_id, Operations, schemas } params, RequestOptionsoptions?): UserUpdateResponse { id, active, displayName, 6 more }
PATCH/accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}
Replace a user population user
client.zeroTrust.access.userPopulations.users.replace(stringuserID, UserReplaceParams { account_id, user_population_id, active, 7 more } params, RequestOptionsoptions?): UserReplaceResponse { id, active, displayName, 6 more }
PUT/accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}
Delete a user population user
client.zeroTrust.access.userPopulations.users.delete(stringuserID, UserDeleteParams { account_id, user_population_id } params, RequestOptionsoptions?): void
DELETE/accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}
ModelsExpand Collapse
UserListResponse { itemsPerPage, Resources, schemas, 2 more }
itemsPerPage: number
Resources: Array<Resource>
id?: string
active?: boolean
displayName?: string
emails?: Array<Email>
primary?: boolean
type?: string
value?: string
externalId?: string
meta?: Meta { created, lastModified, location, 2 more }
created?: string
formatdate-time
lastModified?: string
formatdate-time
location?: string
formaturi
resourceType?: string
version?: string
name?: Name { familyName, formatted, givenName, 3 more }
familyName?: string
formatted?: string
givenName?: string
honorificPrefix?: string
honorificSuffix?: string
middleName?: string
schemas?: Array<string>

The SCIM schemas that apply to this resource.

userName?: string
schemas: Array<string>
startIndex: number
totalResults: number
UserCreateResponse { id, active, displayName, 6 more }

A SCIM User resource. Additional SCIM extension attributes are supported.

id?: string
active?: boolean
displayName?: string
emails?: Array<Email>
primary?: boolean
type?: string
value?: string
externalId?: string
meta?: Meta { created, lastModified, location, 2 more }
created?: string
formatdate-time
lastModified?: string
formatdate-time
location?: string
formaturi
resourceType?: string
version?: string
name?: Name { familyName, formatted, givenName, 3 more }
familyName?: string
formatted?: string
givenName?: string
honorificPrefix?: string
honorificSuffix?: string
middleName?: string
schemas?: Array<string>

The SCIM schemas that apply to this resource.

userName?: string
UserGetResponse { id, active, displayName, 6 more }

A SCIM User resource. Additional SCIM extension attributes are supported.

id?: string
active?: boolean
displayName?: string
emails?: Array<Email>
primary?: boolean
type?: string
value?: string
externalId?: string
meta?: Meta { created, lastModified, location, 2 more }
created?: string
formatdate-time
lastModified?: string
formatdate-time
location?: string
formaturi
resourceType?: string
version?: string
name?: Name { familyName, formatted, givenName, 3 more }
familyName?: string
formatted?: string
givenName?: string
honorificPrefix?: string
honorificSuffix?: string
middleName?: string
schemas?: Array<string>

The SCIM schemas that apply to this resource.

userName?: string
UserUpdateResponse { id, active, displayName, 6 more }

A SCIM User resource. Additional SCIM extension attributes are supported.

id?: string
active?: boolean
displayName?: string
emails?: Array<Email>
primary?: boolean
type?: string
value?: string
externalId?: string
meta?: Meta { created, lastModified, location, 2 more }
created?: string
formatdate-time
lastModified?: string
formatdate-time
location?: string
formaturi
resourceType?: string
version?: string
name?: Name { familyName, formatted, givenName, 3 more }
familyName?: string
formatted?: string
givenName?: string
honorificPrefix?: string
honorificSuffix?: string
middleName?: string
schemas?: Array<string>

The SCIM schemas that apply to this resource.

userName?: string
UserReplaceResponse { id, active, displayName, 6 more }

A SCIM User resource. Additional SCIM extension attributes are supported.

id?: string
active?: boolean
displayName?: string
emails?: Array<Email>
primary?: boolean
type?: string
value?: string
externalId?: string
meta?: Meta { created, lastModified, location, 2 more }
created?: string
formatdate-time
lastModified?: string
formatdate-time
location?: string
formaturi
resourceType?: string
version?: string
name?: Name { familyName, formatted, givenName, 3 more }
familyName?: string
formatted?: string
givenName?: string
honorificPrefix?: string
honorificSuffix?: string
middleName?: string
schemas?: Array<string>

The SCIM schemas that apply to this resource.

userName?: string