---
title: Zero Trust
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Zero Trust

#### Zero TrustDevices

##### [List devices (deprecated)](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/methods/list)

Deprecated

zero\_trust.devices.list(DeviceListParams\*\*kwargs) -> SyncSinglePage\[[Device](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices

##### [Get device (deprecated)](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/methods/get)

Deprecated

zero\_trust.devices.get(strdevice\_id, DeviceGetParams\*\*kwargs) -> [DeviceGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/{device\_id}

##### ModelsExpand Collapse

<details>

<summary>

class Device: …

</summary>

id: Optional\[str]

Registration ID. Equal to Device ID except for accounts which enabled <a href="https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/windows-multiuser/">multi-user mode</a>.

maxLength36

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created: Optional\[datetime]

When the device was created.

formatdate-time

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

deleted: Optional\[bool]

True if the device was deleted.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20deleted">Link to this property</a>

<details>

<summary>

device\_type: Optional\[Literal\["windows", "mac", "linux", 3 more]]

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20device_type%20%3E%20(member)%200">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20device_type%20%3E%20(member)%201">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20device_type%20%3E%20(member)%202">Link to this property</a>

"android"

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20device_type%20%3E%20(member)%203">Link to this property</a>

"ios"

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20device_type%20%3E%20(member)%204">Link to this property</a>

"chromeos"

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20device_type%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20device_type">Link to this property</a>

ip: Optional\[str]

IPv4 or IPv6 address.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20ip">Link to this property</a>

key: Optional\[str]

The device’s public key.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20key">Link to this property</a>

last\_seen: Optional\[datetime]

When the device last connected to Cloudflare services.

formatdate-time

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20last_seen">Link to this property</a>

mac\_address: Optional\[str]

The device mac address.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20mac_address">Link to this property</a>

manufacturer: Optional\[str]

The device manufacturer name.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20manufacturer">Link to this property</a>

model: Optional\[str]

The device model name.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20model">Link to this property</a>

name: Optional\[str]

The device name.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

os\_distro\_name: Optional\[str]

The Linux distro name.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20os_distro_name">Link to this property</a>

os\_distro\_revision: Optional\[str]

The Linux distro revision.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20os_distro_revision">Link to this property</a>

os\_version: Optional\[str]

The operating system version.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20os_version">Link to this property</a>

os\_version\_extra: Optional\[str]

Additional operating system version details. For Windows, the UBR (Update Build Revision). For Mac or iOS, the Product Version Extra. For Linux, the distribution name and version.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20os_version_extra">Link to this property</a>

revoked\_at: Optional\[datetime]

When the device was revoked.

formatdate-time

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20revoked_at">Link to this property</a>

serial\_number: Optional\[str]

The device serial number.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

updated: Optional\[datetime]

When the device was updated.

formatdate-time

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20updated">Link to this property</a>

<details>

<summary>

user: Optional\[User]

</summary>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20id">Link to this property</a>

email: Optional\[str]

The contact email address of the user.

maxLength90

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20email">Link to this property</a>

name: Optional\[str]

The enrolled device user’s name.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20user">Link to this property</a>

version: Optional\[str]

The WARP client version.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices%20%3E%20(model)%20device%20%3E%20(schema)>)

<details>

<summary>

class DeviceGetResponse: …

</summary>

id: Optional\[str]

Registration ID. Equal to Device ID except for accounts which enabled <a href="https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/windows-multiuser/">multi-user mode</a>.

maxLength36

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

account: Optional\[Account]

</summary>

Deprecatedid: Optional\[str]

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20account%20%3E%20(property)%20id">Link to this property</a>

Deprecatedaccount\_type: Optional\[str]

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20account%20%3E%20(property)%20account_type">Link to this property</a>

name: Optional\[str]

The name of the enrolled account.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20account%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20account">Link to this property</a>

created: Optional\[datetime]

When the device was created.

formatdate-time

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

deleted: Optional\[bool]

True if the device was deleted.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20deleted">Link to this property</a>

device\_type: Optional\[str]

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20device_type">Link to this property</a>

Deprecatedgateway\_device\_id: Optional\[str]

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20gateway_device_id">Link to this property</a>

ip: Optional\[str]

IPv4 or IPv6 address.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20ip">Link to this property</a>

key: Optional\[str]

The device’s public key.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20key">Link to this property</a>

key\_type: Optional\[str]

Type of the key.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20key_type">Link to this property</a>

last\_seen: Optional\[datetime]

When the device last connected to Cloudflare services.

formatdate-time

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen">Link to this property</a>

mac\_address: Optional\[str]

The device mac address.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20mac_address">Link to this property</a>

model: Optional\[str]

The device model name.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20model">Link to this property</a>

name: Optional\[str]

The device name.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

os\_version: Optional\[str]

The operating system version.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20os_version">Link to this property</a>

serial\_number: Optional\[str]

The device serial number.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

tunnel\_type: Optional\[str]

Type of the tunnel connection used.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnel_type">Link to this property</a>

updated: Optional\[datetime]

When the device was updated.

formatdate-time

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20updated">Link to this property</a>

<details>

<summary>

user: Optional\[User]

</summary>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20id">Link to this property</a>

email: Optional\[str]

The contact email address of the user.

maxLength90

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20email">Link to this property</a>

name: Optional\[str]

The enrolled device user’s name.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20user">Link to this property</a>

version: Optional\[str]

The WARP client version.

<a href="#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)>)

#### Zero TrustDevicesDevices

##### [List devices](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/devices/methods/list)

zero\_trust.devices.devices.list(DeviceListParams\*\*kwargs) -> SyncCursorPagination\[[DeviceListResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/physical-devices

##### [Get device](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/devices/methods/get)

zero\_trust.devices.devices.get(strdevice\_id, DeviceGetParams\*\*kwargs) -> [DeviceGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/physical-devices/{device\_id}

##### [Delete device](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/devices/methods/delete)

zero\_trust.devices.devices.delete(strdevice\_id, DeviceDeleteParams\*\*kwargs) -> object

DELETE/accounts/{account\_id}/devices/physical-devices/{device\_id}

##### [Revoke device registrations](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/devices/methods/revoke)

Deprecated

zero\_trust.devices.devices.revoke(strdevice\_id, DeviceRevokeParams\*\*kwargs) -> object

POST/accounts/{account\_id}/devices/physical-devices/{device\_id}/revoke

##### ModelsExpand Collapse

<details>

<summary>

class DeviceListResponse: …

A WARP Device.

</summary>

id: str

The unique ID of the device.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

active\_registrations: int

The number of active registrations for the device. Active registrations are those which haven’t been revoked or deleted.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20active_registrations">Link to this property</a>

created\_at: str

The RFC3339 timestamp when the device was created.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

last\_seen\_at: Optional\[str]

The RFC3339 timestamp when the device was last seen.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_at">Link to this property</a>

name: str

The name of the device.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

tags: Dict\[str, str]

Tags assigned to the device. An empty object if the device has no tags.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20tags">Link to this property</a>

updated\_at: str

The RFC3339 timestamp when the device was last updated.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

client\_version: Optional\[str]

Version of the WARP client.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20client_version">Link to this property</a>

deleted\_at: Optional\[str]

The RFC3339 timestamp when the device was deleted.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

device\_type: Optional\[str]

The device operating system.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20device_type">Link to this property</a>

hardware\_id: Optional\[str]

A string that uniquely identifies the hardware or virtual machine (VM).

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20hardware_id">Link to this property</a>

<details>

<summary>

last\_seen\_registration: Optional\[LastSeenRegistration]

The last seen registration for the device.

</summary>

<details>

<summary>

policy: Optional\[LastSeenRegistrationPolicy]

A summary of the device profile evaluated for the registration.

</summary>

id: str

The ID of the device settings profile.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20id">Link to this property</a>

default: bool

Whether the device settings profile is the default profile for the account.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20default">Link to this property</a>

deleted: bool

Whether the device settings profile was deleted.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20deleted">Link to this property</a>

name: str

The name of the device settings profile.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20name">Link to this property</a>

updated\_at: str

The RFC3339 timestamp of when the device settings profile last changed for the registration.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration">Link to this property</a>

<details>

<summary>

last\_seen\_user: Optional\[LastSeenUser]

The last user to use the WARP device.

</summary>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_user%20%3E%20(property)%20id">Link to this property</a>

email: Optional\[str]

The contact email address of the user.

maxLength90

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_user%20%3E%20(property)%20email">Link to this property</a>

name: Optional\[str]

The enrolled device user’s name.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_user%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_user">Link to this property</a>

mac\_address: Optional\[str]

The device MAC address.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20mac_address">Link to this property</a>

manufacturer: Optional\[str]

The device manufacturer.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20manufacturer">Link to this property</a>

model: Optional\[str]

The model name of the device.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20model">Link to this property</a>

os\_version: Optional\[str]

The device operating system version number.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20os_version">Link to this property</a>

os\_version\_extra: Optional\[str]

Additional operating system version details. For Windows, the UBR (Update Build Revision). For Mac or iOS, the Product Version Extra. For Linux, the distribution name and version.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20os_version_extra">Link to this property</a>

Deprecatedpublic\_ip: Optional\[str]

**Deprecated**: IP information is provided by DEX - see <a href="https://developers.cloudflare.com/api/resources/zero_trust/subresources/dex/subresources/fleet_status/subresources/devices/methods/list/">https://developers.cloudflare.com/api/resources/zero\_trust/subresources/dex/subresources/fleet\_status/subresources/devices/methods/list/</a>

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20public_ip">Link to this property</a>

serial\_number: Optional\[str]

The device serial number.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_list_response%20%3E%20(schema)>)

<details>

<summary>

class DeviceGetResponse: …

A WARP Device.

</summary>

id: str

The unique ID of the device.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

active\_registrations: int

The number of active registrations for the device. Active registrations are those which haven’t been revoked or deleted.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20active_registrations">Link to this property</a>

created\_at: str

The RFC3339 timestamp when the device was created.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

last\_seen\_at: Optional\[str]

The RFC3339 timestamp when the device was last seen.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_at">Link to this property</a>

name: str

The name of the device.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

tags: Dict\[str, str]

Tags assigned to the device. An empty object if the device has no tags.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20tags">Link to this property</a>

updated\_at: str

The RFC3339 timestamp when the device was last updated.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

client\_version: Optional\[str]

Version of the WARP client.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20client_version">Link to this property</a>

deleted\_at: Optional\[str]

The RFC3339 timestamp when the device was deleted.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

device\_type: Optional\[str]

The device operating system.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20device_type">Link to this property</a>

hardware\_id: Optional\[str]

A string that uniquely identifies the hardware or virtual machine (VM).

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20hardware_id">Link to this property</a>

<details>

<summary>

last\_seen\_registration: Optional\[LastSeenRegistration]

The last seen registration for the device.

</summary>

<details>

<summary>

policy: Optional\[LastSeenRegistrationPolicy]

A summary of the device profile evaluated for the registration.

</summary>

id: str

The ID of the device settings profile.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20id">Link to this property</a>

default: bool

Whether the device settings profile is the default profile for the account.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20default">Link to this property</a>

deleted: bool

Whether the device settings profile was deleted.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20deleted">Link to this property</a>

name: str

The name of the device settings profile.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20name">Link to this property</a>

updated\_at: str

The RFC3339 timestamp of when the device settings profile last changed for the registration.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration%20%3E%20(property)%20policy">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_registration">Link to this property</a>

<details>

<summary>

last\_seen\_user: Optional\[LastSeenUser]

The last user to use the WARP device.

</summary>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_user%20%3E%20(property)%20id">Link to this property</a>

email: Optional\[str]

The contact email address of the user.

maxLength90

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_user%20%3E%20(property)%20email">Link to this property</a>

name: Optional\[str]

The enrolled device user’s name.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_user%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_user">Link to this property</a>

mac\_address: Optional\[str]

The device MAC address.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20mac_address">Link to this property</a>

manufacturer: Optional\[str]

The device manufacturer.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20manufacturer">Link to this property</a>

model: Optional\[str]

The model name of the device.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20model">Link to this property</a>

os\_version: Optional\[str]

The device operating system version number.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20os_version">Link to this property</a>

os\_version\_extra: Optional\[str]

Additional operating system version details. For Windows, the UBR (Update Build Revision). For Mac or iOS, the Product Version Extra. For Linux, the distribution name and version.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20os_version_extra">Link to this property</a>

Deprecatedpublic\_ip: Optional\[str]

**Deprecated**: IP information is provided by DEX - see <a href="https://developers.cloudflare.com/api/resources/zero_trust/subresources/dex/subresources/fleet_status/subresources/devices/methods/list/">https://developers.cloudflare.com/api/resources/zero\_trust/subresources/dex/subresources/fleet\_status/subresources/devices/methods/list/</a>

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20public_ip">Link to this property</a>

serial\_number: Optional\[str]

The device serial number.

<a href="#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.devices%20%3E%20(model)%20device_get_response%20%3E%20(schema)>)

#### Zero TrustDevicesResilience

#### Zero TrustDevicesResilienceGlobal WARP Override

##### [Get Global Disconnect](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/resilience/subresources/global_warp_override/methods/get)

zero\_trust.devices.resilience.global\_warp\_override.get(GlobalWARPOverrideGetParams\*\*kwargs) -> [GlobalWARPOverrideGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.resilience.global_warp_override%20%3E%20(model)%20global_warp_override_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/resilience/disconnect

##### [Set Global Disconnect](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/resilience/subresources/global_warp_override/methods/create)

zero\_trust.devices.resilience.global\_warp\_override.create(GlobalWARPOverrideCreateParams\*\*kwargs) -> [GlobalWARPOverrideCreateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.resilience.global_warp_override%20%3E%20(model)%20global_warp_override_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/resilience/disconnect

##### ModelsExpand Collapse

<details>

<summary>

class GlobalWARPOverrideGetResponse: …

</summary>

disconnect: Optional\[bool]

Disconnects all devices on the account using Global WARP override.

<a href="#(resource)%20zero_trust.devices.resilience.global_warp_override%20%3E%20(model)%20global_warp_override_get_response%20%3E%20(schema)%20%3E%20(property)%20disconnect">Link to this property</a>

timestamp: Optional\[datetime]

When the Global WARP override state was updated.

formatdate-time

<a href="#(resource)%20zero_trust.devices.resilience.global_warp_override%20%3E%20(model)%20global_warp_override_get_response%20%3E%20(schema)%20%3E%20(property)%20timestamp">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.resilience.global_warp_override%20%3E%20(model)%20global_warp_override_get_response%20%3E%20(schema)>)

<details>

<summary>

class GlobalWARPOverrideCreateResponse: …

</summary>

disconnect: Optional\[bool]

Disconnects all devices on the account using Global WARP override.

<a href="#(resource)%20zero_trust.devices.resilience.global_warp_override%20%3E%20(model)%20global_warp_override_create_response%20%3E%20(schema)%20%3E%20(property)%20disconnect">Link to this property</a>

timestamp: Optional\[datetime]

When the Global WARP override state was updated.

formatdate-time

<a href="#(resource)%20zero_trust.devices.resilience.global_warp_override%20%3E%20(model)%20global_warp_override_create_response%20%3E%20(schema)%20%3E%20(property)%20timestamp">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.resilience.global_warp_override%20%3E%20(model)%20global_warp_override_create_response%20%3E%20(schema)>)

#### Zero TrustDevicesRegistrations

##### [List registrations](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/registrations/methods/list)

zero\_trust.devices.registrations.list(RegistrationListParams\*\*kwargs) -> SyncCursorPagination\[[RegistrationListResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/registrations

##### [Get registration](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/registrations/methods/get)

zero\_trust.devices.registrations.get(strregistration\_id, RegistrationGetParams\*\*kwargs) -> [RegistrationGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/registrations/{registration\_id}

##### [Delete registration](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/registrations/methods/delete)

zero\_trust.devices.registrations.delete(strregistration\_id, RegistrationDeleteParams\*\*kwargs) -> object

DELETE/accounts/{account\_id}/devices/registrations/{registration\_id}

##### [Delete registrations](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/registrations/methods/bulk_delete)

zero\_trust.devices.registrations.bulk\_delete(RegistrationBulkDeleteParams\*\*kwargs) -> object

DELETE/accounts/{account\_id}/devices/registrations

##### [Revoke registrations](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/registrations/methods/revoke)

Deprecated

zero\_trust.devices.registrations.revoke(RegistrationRevokeParams\*\*kwargs) -> object

POST/accounts/{account\_id}/devices/registrations/revoke

##### [Unrevoke registrations](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/registrations/methods/unrevoke)

Deprecated

zero\_trust.devices.registrations.unrevoke(RegistrationUnrevokeParams\*\*kwargs) -> object

POST/accounts/{account\_id}/devices/registrations/unrevoke

##### ModelsExpand Collapse

<details>

<summary>

class RegistrationListResponse: …

A WARP configuration tied to a single user. Multiple registrations can be created from a single WARP device.

</summary>

id: str

The ID of the registration.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: str

The RFC3339 timestamp when the registration was created.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

device: Device

Device details embedded inside of a registration.

</summary>

id: str

The ID of the device.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20device%20%3E%20(property)%20id">Link to this property</a>

name: str

The name of the device.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20device%20%3E%20(property)%20name">Link to this property</a>

client\_version: Optional\[str]

Version of the WARP client.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20device%20%3E%20(property)%20client_version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20device">Link to this property</a>

key: str

The public key used to connect to the Cloudflare network.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20key">Link to this property</a>

last\_seen\_at: str

The RFC3339 timestamp when the registration was last seen.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_at">Link to this property</a>

<details>

<summary>

registration\_type: Literal\["warp", "browser\_extension"]

The registration client type, derived from device\_type.

</summary>

One of the following:

"warp"

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20registration_type%20%3E%20(member)%200">Link to this property</a>

"browser\_extension"

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20registration_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20registration_type">Link to this property</a>

updated\_at: str

The RFC3339 timestamp when the registration was last updated.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

deleted\_at: Optional\[str]

The RFC3339 timestamp when the registration was deleted.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

key\_type: Optional\[str]

The type of encryption key used by the WARP client for the active key. Currently ‘curve25519’ for WireGuard and ‘secp256r1’ for MASQUE.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20key_type">Link to this property</a>

<details>

<summary>

policy: Optional\[Policy]

The device settings profile assigned to this registration.

</summary>

id: str

The ID of the device settings profile.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20id">Link to this property</a>

default: bool

Whether the device settings profile is the default profile for the account.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20default">Link to this property</a>

deleted: bool

Whether the device settings profile was deleted.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20deleted">Link to this property</a>

name: str

The name of the device settings profile.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20name">Link to this property</a>

updated\_at: str

The RFC3339 timestamp of when the device settings profile last changed for the registration.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20policy">Link to this property</a>

revoked\_at: Optional\[str]

The RFC3339 timestamp when the registration was revoked.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20revoked_at">Link to this property</a>

tunnel\_type: Optional\[str]

Type of the tunnel - wireguard or masque.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20tunnel_type">Link to this property</a>

<details>

<summary>

user: Optional\[User]

</summary>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20id">Link to this property</a>

email: Optional\[str]

The contact email address of the user.

maxLength90

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20email">Link to this property</a>

name: Optional\[str]

The enrolled device user’s name.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20user">Link to this property</a>

virtual\_ipv4: Optional\[str]

The virtual IPv4 address assigned to the network interface of the tunnel for this registration.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20virtual_ipv4">Link to this property</a>

virtual\_ipv6: Optional\[str]

The virtual IPv6 address assigned to the network interface of the tunnel for this registration.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20virtual_ipv6">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)>)

<details>

<summary>

class RegistrationGetResponse: …

A WARP configuration tied to a single user. Multiple registrations can be created from a single WARP device.

</summary>

id: str

The ID of the registration.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: str

The RFC3339 timestamp when the registration was created.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

device: Device

Device details embedded inside of a registration.

</summary>

id: str

The ID of the device.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20device%20%3E%20(property)%20id">Link to this property</a>

name: str

The name of the device.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20device%20%3E%20(property)%20name">Link to this property</a>

client\_version: Optional\[str]

Version of the WARP client.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20device%20%3E%20(property)%20client_version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20device">Link to this property</a>

key: str

The public key used to connect to the Cloudflare network.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20key">Link to this property</a>

last\_seen\_at: str

The RFC3339 timestamp when the registration was last seen.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20last_seen_at">Link to this property</a>

<details>

<summary>

registration\_type: Literal\["warp", "browser\_extension"]

The registration client type, derived from device\_type.

</summary>

One of the following:

"warp"

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20registration_type%20%3E%20(member)%200">Link to this property</a>

"browser\_extension"

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20registration_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20registration_type">Link to this property</a>

updated\_at: str

The RFC3339 timestamp when the registration was last updated.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

deleted\_at: Optional\[str]

The RFC3339 timestamp when the registration was deleted.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

key\_type: Optional\[str]

The type of encryption key used by the WARP client for the active key. Currently ‘curve25519’ for WireGuard and ‘secp256r1’ for MASQUE.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20key_type">Link to this property</a>

<details>

<summary>

policy: Optional\[Policy]

The device settings profile assigned to this registration.

</summary>

id: str

The ID of the device settings profile.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20id">Link to this property</a>

default: bool

Whether the device settings profile is the default profile for the account.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20default">Link to this property</a>

deleted: bool

Whether the device settings profile was deleted.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20deleted">Link to this property</a>

name: str

The name of the device settings profile.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20name">Link to this property</a>

updated\_at: str

The RFC3339 timestamp of when the device settings profile last changed for the registration.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20policy">Link to this property</a>

revoked\_at: Optional\[str]

The RFC3339 timestamp when the registration was revoked.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20revoked_at">Link to this property</a>

tunnel\_type: Optional\[str]

Type of the tunnel - wireguard or masque.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnel_type">Link to this property</a>

<details>

<summary>

user: Optional\[User]

</summary>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20id">Link to this property</a>

email: Optional\[str]

The contact email address of the user.

maxLength90

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20email">Link to this property</a>

name: Optional\[str]

The enrolled device user’s name.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20user%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20user">Link to this property</a>

virtual\_ipv4: Optional\[str]

The virtual IPv4 address assigned to the network interface of the tunnel for this registration.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20virtual_ipv4">Link to this property</a>

virtual\_ipv6: Optional\[str]

The virtual IPv6 address assigned to the network interface of the tunnel for this registration.

<a href="#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20virtual_ipv6">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)>)

#### Zero TrustDevicesDEX Tests

##### [List Device DEX tests](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/dex_tests/methods/list)

zero\_trust.devices.dex\_tests.list(DEXTestListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[SchemaHTTP](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)>)]

GET/accounts/{account\_id}/dex/devices/dex\_tests

##### [Get Device DEX test](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/dex_tests/methods/get)

zero\_trust.devices.dex\_tests.get(strdex\_test\_id, DEXTestGetParams\*\*kwargs) -> [SchemaHTTP](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)>)

GET/accounts/{account\_id}/dex/devices/dex\_tests/{dex\_test\_id}

##### [Create Device DEX test](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/dex_tests/methods/create)

zero\_trust.devices.dex\_tests.create(DEXTestCreateParams\*\*kwargs) -> [SchemaHTTP](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)>)

POST/accounts/{account\_id}/dex/devices/dex\_tests

##### [Update Device DEX test](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/dex_tests/methods/update)

zero\_trust.devices.dex\_tests.update(strdex\_test\_id, DEXTestUpdateParams\*\*kwargs) -> [SchemaHTTP](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)>)

PUT/accounts/{account\_id}/dex/devices/dex\_tests/{dex\_test\_id}

##### [Delete Device DEX test](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/dex_tests/methods/delete)

zero\_trust.devices.dex\_tests.delete(strdex\_test\_id, DEXTestDeleteParams\*\*kwargs) -> [DEXTestDeleteResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20dex_test_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/dex/devices/dex\_tests/{dex\_test\_id}

##### ModelsExpand Collapse

<details>

<summary>

class SchemaData: …

The configuration object which contains the details for the WARP client to conduct the test.

</summary>

host: str

The desired endpoint to test.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_data%20%3E%20(schema)%20%3E%20(property)%20host">Link to this property</a>

<details>

<summary>

kind: Literal\["http", "traceroute"]

The type of test.

</summary>

One of the following:

"http"

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_data%20%3E%20(schema)%20%3E%20(property)%20kind%20%3E%20(member)%200">Link to this property</a>

"traceroute"

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_data%20%3E%20(schema)%20%3E%20(property)%20kind%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_data%20%3E%20(schema)%20%3E%20(property)%20kind">Link to this property</a>

method: Optional\[Literal\["GET"]]

The HTTP request method type.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_data%20%3E%20(schema)%20%3E%20(property)%20method">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_data%20%3E%20(schema)>)

<details>

<summary>

class SchemaHTTP: …

</summary>

data: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_data%20%3E%20(schema)">SchemaData</a>

The configuration object which contains the details for the WARP client to conduct the test.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20data">Link to this property</a>

enabled: bool

Determines whether or not the test is active.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

interval: str

How often the test will run.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20interval">Link to this property</a>

name: str

The name of the DEX test. Must be unique.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

created: Optional\[datetime]

Date the test was created, in RFC 3339 format.

formatdate-time

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

description: Optional\[str]

Additional details about the test.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

<details>

<summary>

target\_policies: Optional\[List\[TargetPolicy]]

DEX rules targeted by this test

</summary>

id: str

The id of the DEX rule.

maxLength36

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20target_policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

default: Optional\[bool]

Whether the DEX rule is the account default.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20target_policies%20%3E%20(items)%20%3E%20(property)%20default">Link to this property</a>

name: Optional\[str]

The name of the DEX rule.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20target_policies%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20target_policies">Link to this property</a>

targeted: Optional\[bool]

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20targeted">Link to this property</a>

test\_id: Optional\[str]

The unique identifier for the test.

maxLength32

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20test_id">Link to this property</a>

updated: Optional\[datetime]

Date the test was last updated, in RFC 3339 format.

formatdate-time

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20updated">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)>)

<details>

<summary>

class DEXTestDeleteResponse: …

</summary>

<details>

<summary>

dex\_tests: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)">SchemaHTTP</a>]]

</summary>

data: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_data%20%3E%20(schema)">SchemaData</a>

The configuration object which contains the details for the WARP client to conduct the test.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20data">Link to this property</a>

enabled: bool

Determines whether or not the test is active.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

interval: str

How often the test will run.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20interval">Link to this property</a>

name: str

The name of the DEX test. Must be unique.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

created: Optional\[datetime]

Date the test was created, in RFC 3339 format.

formatdate-time

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

description: Optional\[str]

Additional details about the test.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

<details>

<summary>

target\_policies: Optional\[List\[TargetPolicy]]

DEX rules targeted by this test

</summary>

id: str

The id of the DEX rule.

maxLength36

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20target_policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

default: Optional\[bool]

Whether the DEX rule is the account default.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20target_policies%20%3E%20(items)%20%3E%20(property)%20default">Link to this property</a>

name: Optional\[str]

The name of the DEX rule.

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20target_policies%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20target_policies">Link to this property</a>

targeted: Optional\[bool]

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20targeted">Link to this property</a>

test\_id: Optional\[str]

The unique identifier for the test.

maxLength32

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20test_id">Link to this property</a>

updated: Optional\[datetime]

Date the test was last updated, in RFC 3339 format.

formatdate-time

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20schema_http%20%3E%20(schema)%20%3E%20(property)%20updated">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20dex_test_delete_response%20%3E%20(schema)%20%3E%20(property)%20dex_tests">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.dex_tests%20%3E%20(model)%20dex_test_delete_response%20%3E%20(schema)>)

#### Zero TrustDevicesIP Profiles

##### [List IP profiles](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/ip_profiles/methods/list)

zero\_trust.devices.ip\_profiles.list(IPProfileListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[IPProfile](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/ip-profiles

##### [Get IP profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/ip_profiles/methods/get)

zero\_trust.devices.ip\_profiles.get(strprofile\_id, IPProfileGetParams\*\*kwargs) -> [IPProfile](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/ip-profiles/{profile\_id}

##### [Create IP profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/ip_profiles/methods/create)

zero\_trust.devices.ip\_profiles.create(IPProfileCreateParams\*\*kwargs) -> [IPProfile](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/ip-profiles

##### [Update IP profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/ip_profiles/methods/update)

zero\_trust.devices.ip\_profiles.update(strprofile\_id, IPProfileUpdateParams\*\*kwargs) -> [IPProfile](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)>)

PATCH/accounts/{account\_id}/devices/ip-profiles/{profile\_id}

##### [Delete IP profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/ip_profiles/methods/delete)

zero\_trust.devices.ip\_profiles.delete(strprofile\_id, IPProfileDeleteParams\*\*kwargs) -> [IPProfileDeleteResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/devices/ip-profiles/{profile\_id}

##### ModelsExpand Collapse

<details>

<summary>

class IPProfile: …

</summary>

id: str

The ID of the Device IP profile.

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: str

The RFC3339Nano timestamp when the Device IP profile was created.

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

description: Optional\[str]

An optional description of the Device IP profile.

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

enabled: bool

Whether the Device IP profile is enabled.

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

match: str

The wirefilter expression to match registrations. Available values: “identity.name”, “identity.email”, “identity.groups.id”, “identity.groups.name”, “identity.groups.email”, “identity.saml\_attributes”.

maxLength10000

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)%20%3E%20(property)%20match">Link to this property</a>

name: str

A user-friendly name for the Device IP profile.

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

precedence: int

The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)%20%3E%20(property)%20precedence">Link to this property</a>

subnet\_id: str

The ID of the Subnet.

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)%20%3E%20(property)%20subnet_id">Link to this property</a>

updated\_at: str

The RFC3339Nano timestamp when the Device IP profile was last updated.

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile%20%3E%20(schema)>)

<details>

<summary>

class IPProfileDeleteResponse: …

</summary>

id: Optional\[str]

ID of the deleted Device IP profile.

<a href="#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.ip_profiles%20%3E%20(model)%20ip_profile_delete_response%20%3E%20(schema)>)

#### Zero TrustDevicesDeployment Groups

##### [List deployment groups](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/deployment_groups/methods/list)

zero\_trust.devices.deployment\_groups.list(DeploymentGroupListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[DeploymentGroup](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/deployment-groups

##### [Get deployment group](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/deployment_groups/methods/get)

zero\_trust.devices.deployment\_groups.get(strgroup\_id, DeploymentGroupGetParams\*\*kwargs) -> [DeploymentGroup](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/deployment-groups/{group\_id}

##### [Create deployment group](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/deployment_groups/methods/create)

zero\_trust.devices.deployment\_groups.create(DeploymentGroupCreateParams\*\*kwargs) -> [DeploymentGroup](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/deployment-groups

##### [Update deployment group](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/deployment_groups/methods/edit)

zero\_trust.devices.deployment\_groups.edit(strgroup\_id, DeploymentGroupEditParams\*\*kwargs) -> [DeploymentGroup](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)>)

PATCH/accounts/{account\_id}/devices/deployment-groups/{group\_id}

##### [Delete deployment group](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/deployment_groups/methods/delete)

zero\_trust.devices.deployment\_groups.delete(strgroup\_id, DeploymentGroupDeleteParams\*\*kwargs) -> [DeploymentGroupDeleteResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/devices/deployment-groups/{group\_id}

##### ModelsExpand Collapse

<details>

<summary>

class DeploymentGroup: …

</summary>

id: str

The ID of the deployment group.

<a href="#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: str

The RFC3339Nano timestamp when the deployment group was created.

<a href="#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

name: str

A user-friendly name for the deployment group.

maxLength255

minLength1

<a href="#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

updated\_at: str

The RFC3339Nano timestamp when the deployment group was last updated.

<a href="#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

version\_config: List\[VersionConfig]

Contains version configurations for different target environments.

</summary>

target\_environment: Optional\[str]

The target environment for the client version (e.g., windows, macos).

<a href="#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)%20%3E%20(property)%20version_config%20%3E%20(items)%20%3E%20(property)%20target_environment">Link to this property</a>

version: str

The specific client version to deploy.

<a href="#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)%20%3E%20(property)%20version_config%20%3E%20(items)%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)%20%3E%20(property)%20version_config">Link to this property</a>

policy\_ids: Optional\[List\[str]]

Contains a list of policy IDs assigned to this deployment group.

<a href="#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)%20%3E%20(property)%20policy_ids">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group%20%3E%20(schema)>)

<details>

<summary>

class DeploymentGroupDeleteResponse: …

</summary>

id: Optional\[str]

The ID of a deleted deployment group.

<a href="#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.deployment_groups%20%3E%20(model)%20deployment_group_delete_response%20%3E%20(schema)>)

#### Zero TrustDevicesNetworks

##### [List your device managed networks](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/networks/methods/list)

zero\_trust.devices.networks.list(NetworkListParams\*\*kwargs) -> SyncSinglePage\[[DeviceNetwork](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/networks

##### [Get device managed network details](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/networks/methods/get)

zero\_trust.devices.networks.get(strnetwork\_id, NetworkGetParams\*\*kwargs) -> [DeviceNetwork](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/networks/{network\_id}

##### [Create a device managed network](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/networks/methods/create)

zero\_trust.devices.networks.create(NetworkCreateParams\*\*kwargs) -> [DeviceNetwork](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/networks

##### [Update a device managed network](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/networks/methods/update)

zero\_trust.devices.networks.update(strnetwork\_id, NetworkUpdateParams\*\*kwargs) -> [DeviceNetwork](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)>)

PUT/accounts/{account\_id}/devices/networks/{network\_id}

##### [Delete a device managed network](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/networks/methods/delete)

zero\_trust.devices.networks.delete(strnetwork\_id, NetworkDeleteParams\*\*kwargs) -> SyncSinglePage\[[DeviceNetwork](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)>)]

DELETE/accounts/{account\_id}/devices/networks/{network\_id}

##### ModelsExpand Collapse

<details>

<summary>

class DeviceNetwork: …

</summary>

<details>

<summary>

config: Optional\[Config]

The configuration object containing information for the WARP client to detect the managed network.

</summary>

tls\_sockaddr: str

A network address of the form “host:port” that the WARP client will use to detect the presence of a TLS host.

<a href="#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20tls_sockaddr">Link to this property</a>

sha256: Optional\[str]

The SHA-256 hash of the TLS certificate presented by the host found at tls\_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.

<a href="#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20sha256">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

name: Optional\[str]

The name of the device managed network. This name must be unique.

<a href="#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

network\_id: Optional\[str]

API UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)%20%3E%20(property)%20network_id">Link to this property</a>

type: Optional\[Literal\["tls"]]

The type of device managed network.

<a href="#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.networks%20%3E%20(model)%20device_network%20%3E%20(schema)>)

#### Zero TrustDevicesFleet Status

##### [Get the latest status of a device.](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/fleet_status/methods/get)

zero\_trust.devices.fleet\_status.get(strdevice\_id, FleetStatusGetParams\*\*kwargs) -> [FleetStatusGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/dex/devices/{device\_id}/fleet-status/live

##### ModelsExpand Collapse

<details>

<summary>

class FleetStatusGetResponse: …

</summary>

colo: str

Cloudflare colo airport code.

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20colo">Link to this property</a>

device\_id: str

Device identifier (UUID v4)

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceId">Link to this property</a>

mode: str

The mode under which the WARP client is run.

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20mode">Link to this property</a>

platform: str

Operating system.

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20platform">Link to this property</a>

status: str

Network status.

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

timestamp: str

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20timestamp">Link to this property</a>

version: str

WARP client version.

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

always\_on: Optional\[bool]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20alwaysOn">Link to this property</a>

battery\_charging: Optional\[bool]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20batteryCharging">Link to this property</a>

battery\_cycles: Optional\[int]

formatint64

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20batteryCycles">Link to this property</a>

battery\_pct: Optional\[float]

formatfloat

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20batteryPct">Link to this property</a>

connection\_type: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20connectionType">Link to this property</a>

cpu\_pct: Optional\[float]

formatfloat

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20cpuPct">Link to this property</a>

<details>

<summary>

cpu\_pct\_by\_app: Optional\[List\[CPUPctByApp]]

</summary>

cpu\_pct: Optional\[float]

CPU usage percentage, on a scale of 0 to 100.

formatfloat

maximum100

minimum0

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20cpuPctByApp%20%3E%20(items)%20%3E%20(property)%20cpu_pct">Link to this property</a>

name: Optional\[str]

Application name.

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20cpuPctByApp%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20cpuPctByApp">Link to this property</a>

<details>

<summary>

device\_ipv4: Optional\[DeviceIPV4]

</summary>

address: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20address">Link to this property</a>

asn: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20asn">Link to this property</a>

aso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20aso">Link to this property</a>

<details>

<summary>

location: Optional\[DeviceIPV4Location]

</summary>

city: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20location%20%3E%20(property)%20city">Link to this property</a>

country\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20location%20%3E%20(property)%20country_iso">Link to this property</a>

state\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20location%20%3E%20(property)%20state_iso">Link to this property</a>

zip: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20location%20%3E%20(property)%20zip">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20location">Link to this property</a>

name: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20name">Link to this property</a>

netmask: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20netmask">Link to this property</a>

version: Optional\[int]

IP version (<code>1</code> for IPv4, <code>2</code> for IPv6, <code>0</code> if unknown).

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv4">Link to this property</a>

<details>

<summary>

device\_ipv6: Optional\[DeviceIPV6]

</summary>

address: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20address">Link to this property</a>

asn: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20asn">Link to this property</a>

aso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20aso">Link to this property</a>

<details>

<summary>

location: Optional\[DeviceIPV6Location]

</summary>

city: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20location%20%3E%20(property)%20city">Link to this property</a>

country\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20location%20%3E%20(property)%20country_iso">Link to this property</a>

state\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20location%20%3E%20(property)%20state_iso">Link to this property</a>

zip: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20location%20%3E%20(property)%20zip">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20location">Link to this property</a>

name: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20name">Link to this property</a>

netmask: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20netmask">Link to this property</a>

version: Optional\[int]

IP version (<code>1</code> for IPv4, <code>2</code> for IPv6, <code>0</code> if unknown).

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceIpv6">Link to this property</a>

device\_name: Optional\[str]

Device identifier (human readable).

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceName">Link to this property</a>

Deprecateddevice\_registration: Optional\[str]

Use <code>registrationId</code> instead.

Deprecated: use registrationId. Device registration identifier (UUID).

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20deviceRegistration">Link to this property</a>

disk\_read\_bps: Optional\[int]

formatint64

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20diskReadBps">Link to this property</a>

disk\_usage\_pct: Optional\[float]

formatfloat

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20diskUsagePct">Link to this property</a>

disk\_write\_bps: Optional\[int]

formatint64

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20diskWriteBps">Link to this property</a>

doh\_subdomain: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20dohSubdomain">Link to this property</a>

estimated\_loss\_pct: Optional\[float]

formatfloat

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20estimatedLossPct">Link to this property</a>

firewall\_enabled: Optional\[bool]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20firewallEnabled">Link to this property</a>

<details>

<summary>

gateway\_ipv4: Optional\[GatewayIPV4]

</summary>

address: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20address">Link to this property</a>

asn: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20asn">Link to this property</a>

aso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20aso">Link to this property</a>

<details>

<summary>

location: Optional\[GatewayIPV4Location]

</summary>

city: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20location%20%3E%20(property)%20city">Link to this property</a>

country\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20location%20%3E%20(property)%20country_iso">Link to this property</a>

state\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20location%20%3E%20(property)%20state_iso">Link to this property</a>

zip: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20location%20%3E%20(property)%20zip">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20location">Link to this property</a>

name: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20name">Link to this property</a>

netmask: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20netmask">Link to this property</a>

version: Optional\[int]

IP version (<code>1</code> for IPv4, <code>2</code> for IPv6, <code>0</code> if unknown).

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv4">Link to this property</a>

<details>

<summary>

gateway\_ipv6: Optional\[GatewayIPV6]

</summary>

address: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20address">Link to this property</a>

asn: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20asn">Link to this property</a>

aso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20aso">Link to this property</a>

<details>

<summary>

location: Optional\[GatewayIPV6Location]

</summary>

city: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20location%20%3E%20(property)%20city">Link to this property</a>

country\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20location%20%3E%20(property)%20country_iso">Link to this property</a>

state\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20location%20%3E%20(property)%20state_iso">Link to this property</a>

zip: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20location%20%3E%20(property)%20zip">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20location">Link to this property</a>

name: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20name">Link to this property</a>

netmask: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20netmask">Link to this property</a>

version: Optional\[int]

IP version (<code>1</code> for IPv4, <code>2</code> for IPv6, <code>0</code> if unknown).

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20gatewayIpv6">Link to this property</a>

handshake\_latency\_ms: Optional\[float]

formatint64

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20handshakeLatencyMs">Link to this property</a>

<details>

<summary>

isp\_ipv4: Optional\[ISPIPV4]

</summary>

address: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20address">Link to this property</a>

asn: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20asn">Link to this property</a>

aso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20aso">Link to this property</a>

<details>

<summary>

location: Optional\[ISPIPV4Location]

</summary>

city: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20location%20%3E%20(property)%20city">Link to this property</a>

country\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20location%20%3E%20(property)%20country_iso">Link to this property</a>

state\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20location%20%3E%20(property)%20state_iso">Link to this property</a>

zip: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20location%20%3E%20(property)%20zip">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20location">Link to this property</a>

name: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20name">Link to this property</a>

netmask: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20netmask">Link to this property</a>

version: Optional\[int]

IP version (<code>1</code> for IPv4, <code>2</code> for IPv6, <code>0</code> if unknown).

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv4">Link to this property</a>

<details>

<summary>

isp\_ipv6: Optional\[ISPIPV6]

</summary>

address: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20address">Link to this property</a>

asn: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20asn">Link to this property</a>

aso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20aso">Link to this property</a>

<details>

<summary>

location: Optional\[ISPIPV6Location]

</summary>

city: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20location%20%3E%20(property)%20city">Link to this property</a>

country\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20location%20%3E%20(property)%20country_iso">Link to this property</a>

state\_iso: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20location%20%3E%20(property)%20state_iso">Link to this property</a>

zip: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20location%20%3E%20(property)%20zip">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20location">Link to this property</a>

name: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20name">Link to this property</a>

netmask: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20netmask">Link to this property</a>

version: Optional\[int]

IP version (<code>1</code> for IPv4, <code>2</code> for IPv6, <code>0</code> if unknown).

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ispIpv6">Link to this property</a>

metal: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20metal">Link to this property</a>

network\_rcvd\_bps: Optional\[int]

formatint64

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20networkRcvdBps">Link to this property</a>

network\_sent\_bps: Optional\[int]

formatint64

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20networkSentBps">Link to this property</a>

network\_ssid: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20networkSsid">Link to this property</a>

person\_email: Optional\[str]

User contact email address

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20personEmail">Link to this property</a>

ram\_available\_kb: Optional\[int]

formatint64

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ramAvailableKb">Link to this property</a>

ram\_used\_pct: Optional\[float]

formatfloat

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ramUsedPct">Link to this property</a>

<details>

<summary>

ram\_used\_pct\_by\_app: Optional\[List\[RamUsedPctByApp]]

</summary>

name: Optional\[str]

Application name.

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ramUsedPctByApp%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

ram\_used\_pct: Optional\[float]

RAM usage percentage, on a scale of 0 to 100.

formatfloat

maximum100

minimum0

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ramUsedPctByApp%20%3E%20(items)%20%3E%20(property)%20ram_used_pct">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20ramUsedPctByApp">Link to this property</a>

registration\_id: Optional\[str]

Device registration identifier (UUID v4). On multi-user devices, this uniquely identifies a user’s registration on the device.

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20registrationId">Link to this property</a>

<details>

<summary>

rtt: Optional\[RTT]

Round-trip time statistics for the WARP tunnel.

</summary>

<details>

<summary>

min\_rtt\_us: Optional\[RTTMinRTTUs]

Minimum round-trip time in microseconds.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt%20%3E%20(property)%20minRttUs%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt%20%3E%20(property)%20minRttUs%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt%20%3E%20(property)%20minRttUs">Link to this property</a>

<details>

<summary>

rtt\_us: Optional\[RTTRTTUs]

Round-trip time in microseconds.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt%20%3E%20(property)%20rttUs%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt%20%3E%20(property)%20rttUs%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt%20%3E%20(property)%20rttUs">Link to this property</a>

<details>

<summary>

rtt\_var\_us: Optional\[RTTRTTVarUs]

Round-trip time variance in microseconds.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt%20%3E%20(property)%20rttVarUs%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt%20%3E%20(property)%20rttVarUs%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt%20%3E%20(property)%20rttVarUs">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20rtt">Link to this property</a>

switch\_locked: Optional\[bool]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20switchLocked">Link to this property</a>

<details>

<summary>

tunnel\_stats: Optional\[TunnelStats]

WARP tunnel packet and byte counters.

</summary>

<details>

<summary>

bytes\_lost: Optional\[TunnelStatsBytesLost]

Number of bytes lost, split by direction.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesLost%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesLost%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesLost">Link to this property</a>

<details>

<summary>

bytes\_received: Optional\[TunnelStatsBytesReceived]

Number of bytes received, split by direction.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesReceived%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesReceived%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesReceived">Link to this property</a>

<details>

<summary>

bytes\_retransmitted: Optional\[TunnelStatsBytesRetransmitted]

Number of bytes retransmitted, split by direction.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesRetransmitted%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesRetransmitted%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesRetransmitted">Link to this property</a>

<details>

<summary>

bytes\_sent: Optional\[TunnelStatsBytesSent]

Number of bytes sent, split by direction.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesSent%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesSent%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20bytesSent">Link to this property</a>

<details>

<summary>

packets\_lost: Optional\[TunnelStatsPacketsLost]

Number of packets lost, split by direction.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsLost%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsLost%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsLost">Link to this property</a>

<details>

<summary>

packets\_received: Optional\[TunnelStatsPacketsReceived]

Number of packets received, split by direction.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsReceived%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsReceived%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsReceived">Link to this property</a>

<details>

<summary>

packets\_retransmitted: Optional\[TunnelStatsPacketsRetransmitted]

Number of packets retransmitted, split by direction.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsRetransmitted%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsRetransmitted%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsRetransmitted">Link to this property</a>

<details>

<summary>

packets\_sent: Optional\[TunnelStatsPacketsSent]

Number of packets sent, split by direction.

</summary>

downstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsSent%20%3E%20(property)%20downstream">Link to this property</a>

upstream: Optional\[int]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsSent%20%3E%20(property)%20upstream">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20packetsSent">Link to this property</a>

stats\_window\_ms: Optional\[int]

The measurement window duration in milliseconds.

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats%20%3E%20(property)%20statsWindowMs">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelStats">Link to this property</a>

tunnel\_type: Optional\[str]

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnelType">Link to this property</a>

wifi\_strength\_dbm: Optional\[int]

formatint64

<a href="#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)%20%3E%20(property)%20wifiStrengthDbm">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.fleet_status%20%3E%20(model)%20fleet_status_get_response%20%3E%20(schema)>)

#### Zero TrustDevicesPolicies

##### ModelsExpand Collapse

<details>

<summary>

class DevicePolicyCertificates: …

</summary>

enabled: bool

The current status of the device policy certificate provisioning feature for WARP clients.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20device_policy_certificates%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20device_policy_certificates%20%3E%20(schema)>)

<details>

<summary>

class FallbackDomain: …

</summary>

suffix: str

The domain suffix to match when resolving locally.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20suffix">Link to this property</a>

description: Optional\[str]

A description of the fallback domain, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

dns\_server: Optional\[List\[str]]

A list of IP addresses to handle domain resolution.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20dns_server">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)>)

<details>

<summary>

class SettingsPolicy: …

</summary>

allow\_mode\_switch: Optional\[bool]

Whether to allow the user to switch WARP between modes.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20allow_mode_switch">Link to this property</a>

allow\_updates: Optional\[bool]

Whether to receive update notifications when a new version of the client is available.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20allow_updates">Link to this property</a>

allowed\_to\_leave: Optional\[bool]

Whether to allow devices to leave the organization.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20allowed_to_leave">Link to this property</a>

auto\_connect: Optional\[float]

The amount of time in seconds to reconnect after having been disabled.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20auto_connect">Link to this property</a>

<details>

<summary>

browser\_extension\_config: Optional\[BrowserExtensionConfig]

Browser extension proxy settings. Required when profile\_type is browser\_extension and invalid for WARP profiles.

</summary>

<details>

<summary>

proxy\_control: Literal\["unlocked", "locked"]

Whether the user may disable the browser extension proxy.

</summary>

One of the following:

"unlocked"

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20browser_extension_config%20%3E%20(property)%20proxy_control%20%3E%20(member)%200">Link to this property</a>

"locked"

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20browser_extension_config%20%3E%20(property)%20proxy_control%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20browser_extension_config%20%3E%20(property)%20proxy_control">Link to this property</a>

proxy\_enabled: bool

Whether the browser extension proxy is active.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20browser_extension_config%20%3E%20(property)%20proxy_enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20browser_extension_config">Link to this property</a>

captive\_portal: Optional\[float]

Turn on the captive portal after the specified amount of time.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20captive_portal">Link to this property</a>

default: Optional\[bool]

Whether the policy is the account default. WARP group profiles cannot set this field.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20default">Link to this property</a>

description: Optional\[str]

A description of the policy.

maxLength500

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

disable\_auto\_fallback: Optional\[bool]

If the <code>dns_server</code> field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to <code>true</code>.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20disable_auto_fallback">Link to this property</a>

<details>

<summary>

dns\_search\_suffixes: Optional\[List\[DNSSearchSuffix]]

List of DNS search suffixes to apply to clients. Suffixes are evaluated in order. Use an empty array to clear.

</summary>

suffix: str

The DNS search suffix to append when resolving short hostnames.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20dns_search_suffixes%20%3E%20(items)%20%3E%20(property)%20suffix">Link to this property</a>

description: Optional\[str]

A description of the DNS search suffix.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20dns_search_suffixes%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20dns_search_suffixes">Link to this property</a>

enabled: Optional\[bool]

Whether the policy will be applied to matching devices.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

exclude: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)">SplitTunnelExclude</a>]]

List of routes excluded in the WARP client’s tunnel.

</summary>

One of the following:

<details>

<summary>

class TeamsDevicesExcludeSplitTunnelWithAddress: …

</summary>

address: str

The address in CIDR format to exclude from the tunnel. If <code>address</code> is present, <code>host</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20address">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class TeamsDevicesExcludeSplitTunnelWithHost: …

</summary>

host: str

The domain name to exclude from the tunnel. If <code>host</code> is present, <code>address</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20host">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20exclude">Link to this property</a>

exclude\_office\_ips: Optional\[bool]

Whether to add Microsoft IPs to Split Tunnel exclusions.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20exclude_office_ips">Link to this property</a>

<details>

<summary>

fallback\_domains: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)">FallbackDomain</a>]]

</summary>

suffix: str

The domain suffix to match when resolving locally.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20suffix">Link to this property</a>

description: Optional\[str]

A description of the fallback domain, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

dns\_server: Optional\[List\[str]]

A list of IP addresses to handle domain resolution.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20dns_server">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20fallback_domains">Link to this property</a>

gateway\_unique\_id: Optional\[str]

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20gateway_unique_id">Link to this property</a>

<details>

<summary>

global\_acceleration: Optional\[GlobalAcceleration]

Global Acceleration settings for China. When configured, WARP clients connect to the Global Accelerator addresses instead of the default ones. Please contact your account representative to enable this feature on your account. See <a href="https://developers.cloudflare.com/china-network/concepts/global-acceleration/">https://developers.cloudflare.com/china-network/concepts/global-acceleration/</a>.

</summary>

api\_endpoints: List\[str]

IP:port entries for the API endpoints.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20api_endpoints">Link to this property</a>

enabled: bool

Global acceleration settings are used only when “enabled”.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20enabled">Link to this property</a>

masque\_endpoints: List\[str]

IP:port entries for the MASQUE tunnel endpoints. Either wireguard\_endpoints or masque\_endpoints must be provided.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20masque_endpoints">Link to this property</a>

wireguard\_endpoints: List\[str]

IP:port entries for the WireGuard tunnel endpoints. Either wireguard\_endpoints or masque\_endpoints must be provided.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20wireguard_endpoints">Link to this property</a>

autoswitch: Optional\[bool]

Automatically switch Global Acceleration regions based on device location. Defaults to false when not provided.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20autoswitch">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20global_acceleration">Link to this property</a>

<details>

<summary>

include: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)">SplitTunnelInclude</a>]]

List of routes included in the WARP client’s tunnel.

</summary>

One of the following:

<details>

<summary>

class TeamsDevicesIncludeSplitTunnelWithAddress: …

</summary>

address: str

The address in CIDR format to include in the tunnel. If <code>address</code> is present, <code>host</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20address">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class TeamsDevicesIncludeSplitTunnelWithHost: …

</summary>

host: str

The domain name to include in the tunnel. If <code>host</code> is present, <code>address</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20host">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20include">Link to this property</a>

lan\_allow\_minutes: Optional\[float]

The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20lan_allow_minutes">Link to this property</a>

lan\_allow\_subnet\_size: Optional\[float]

The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20lan_allow_subnet_size">Link to this property</a>

match: Optional\[str]

The wirefilter expression to match devices. Available values: “identity.email”, “identity.groups.id”, “identity.groups.name”, “identity.groups.email”, “identity.service\_token\_uuid”, “identity.saml\_attributes”, “network”, “os.name”, “os.version”.

maxLength500

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20match">Link to this property</a>

name: Optional\[str]

The name of the device settings profile.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

policy\_id: Optional\[str]

maxLength36

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20policy_id">Link to this property</a>

precedence: Optional\[float]

The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20precedence">Link to this property</a>

<details>

<summary>

profile\_type: Optional\[Literal\["warp", "browser\_extension"]]

The client type to which the device settings profile applies. This field is set when the profile is created and cannot be changed.

</summary>

One of the following:

"warp"

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20profile_type%20%3E%20(member)%200">Link to this property</a>

"browser\_extension"

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20profile_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20profile_type">Link to this property</a>

register\_interface\_ip\_with\_dns: Optional\[bool]

Determines if the operating system will register WARP’s local interface IP with your on-premises DNS server.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20register_interface_ip_with_dns">Link to this property</a>

sccm\_vpn\_boundary\_support: Optional\[bool]

Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only).

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20sccm_vpn_boundary_support">Link to this property</a>

<details>

<summary>

service\_mode\_v2: Optional\[ServiceModeV2]

</summary>

mode: Optional\[str]

The mode to run the WARP client under.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20service_mode_v2%20%3E%20(property)%20mode">Link to this property</a>

port: Optional\[float]

The port number when used with proxy mode.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20service_mode_v2%20%3E%20(property)%20port">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20service_mode_v2">Link to this property</a>

support\_url: Optional\[str]

The URL to launch when the Send Feedback button is clicked.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20support_url">Link to this property</a>

switch\_locked: Optional\[bool]

Whether to allow the user to turn off the WARP switch and disconnect the client.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20switch_locked">Link to this property</a>

<details>

<summary>

Deprecatedtarget\_tests: Optional\[List\[TargetTest]]

</summary>

id: Optional\[str]

The id of the DEX test targeting this policy.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20target_tests%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

name: Optional\[str]

The name of the DEX test targeting this policy.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20target_tests%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20target_tests">Link to this property</a>

tunnel\_protocol: Optional\[str]

Determines which tunnel protocol to use.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20tunnel_protocol">Link to this property</a>

uninstall\_protection: Optional\[bool]

Determines whether uninstalling the WARP client requires an override code. (Windows only).

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20uninstall_protection">Link to this property</a>

<details>

<summary>

virtual\_networks: Optional\[VirtualNetworks]

Virtual network access settings for the device.

</summary>

allowed: List\[str]

List of virtual network IDs the device is allowed to access. When virtual\_networks is set, at least one entry is required.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20virtual_networks%20%3E%20(property)%20allowed">Link to this property</a>

default: str

The default virtual network ID. Must be included in the <code>allowed</code> list.

formatuuid

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20virtual_networks%20%3E%20(property)%20default">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)%20%3E%20(property)%20virtual_networks">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)>)

<details>

<summary>

<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)">SplitTunnelExclude</a>

</summary>

One of the following:

<details>

<summary>

class TeamsDevicesExcludeSplitTunnelWithAddress: …

</summary>

address: str

The address in CIDR format to exclude from the tunnel. If <code>address</code> is present, <code>host</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20address">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class TeamsDevicesExcludeSplitTunnelWithHost: …

</summary>

host: str

The domain name to exclude from the tunnel. If <code>host</code> is present, <code>address</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20host">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)>)

<details>

<summary>

<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)">SplitTunnelInclude</a>

</summary>

One of the following:

<details>

<summary>

class TeamsDevicesIncludeSplitTunnelWithAddress: …

</summary>

address: str

The address in CIDR format to include in the tunnel. If <code>address</code> is present, <code>host</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20address">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class TeamsDevicesIncludeSplitTunnelWithHost: …

</summary>

host: str

The domain name to include in the tunnel. If <code>host</code> is present, <code>address</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20host">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)>)

#### Zero TrustDevicesPoliciesDefault

##### [Get the default device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/methods/get)

zero\_trust.devices.policies.default.get(DefaultGetParams\*\*kwargs) -> [DefaultGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/policy

##### [Update the default device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/methods/edit)

zero\_trust.devices.policies.default.edit(DefaultEditParams\*\*kwargs) -> [DefaultEditResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)>)

PATCH/accounts/{account\_id}/devices/policy

##### ModelsExpand Collapse

<details>

<summary>

class DefaultGetResponse: …

</summary>

allow\_mode\_switch: Optional\[bool]

Whether to allow the user to switch WARP between modes.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20allow_mode_switch">Link to this property</a>

allow\_updates: Optional\[bool]

Whether to receive update notifications when a new version of the client is available.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20allow_updates">Link to this property</a>

allowed\_to\_leave: Optional\[bool]

Whether to allow devices to leave the organization.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20allowed_to_leave">Link to this property</a>

auto\_connect: Optional\[float]

The amount of time in seconds to reconnect after having been disabled.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20auto_connect">Link to this property</a>

captive\_portal: Optional\[float]

Turn on the captive portal after the specified amount of time.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20captive_portal">Link to this property</a>

default: Optional\[bool]

Whether the policy will be applied to matching devices.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20default">Link to this property</a>

disable\_auto\_fallback: Optional\[bool]

If the <code>dns_server</code> field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to <code>true</code>.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20disable_auto_fallback">Link to this property</a>

<details>

<summary>

dns\_search\_suffixes: Optional\[List\[DNSSearchSuffix]]

List of DNS search suffixes to apply to clients. Suffixes are evaluated in order. Use an empty array to clear.

</summary>

suffix: str

The DNS search suffix to append when resolving short hostnames.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20dns_search_suffixes%20%3E%20(items)%20%3E%20(property)%20suffix">Link to this property</a>

description: Optional\[str]

A description of the DNS search suffix.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20dns_search_suffixes%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20dns_search_suffixes">Link to this property</a>

enabled: Optional\[bool]

Whether the policy will be applied to matching devices.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

exclude: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)">SplitTunnelExclude</a>]]

List of routes excluded in the WARP client’s tunnel.

</summary>

One of the following:

<details>

<summary>

class TeamsDevicesExcludeSplitTunnelWithAddress: …

</summary>

address: str

The address in CIDR format to exclude from the tunnel. If <code>address</code> is present, <code>host</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20address">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class TeamsDevicesExcludeSplitTunnelWithHost: …

</summary>

host: str

The domain name to exclude from the tunnel. If <code>host</code> is present, <code>address</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20host">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20exclude">Link to this property</a>

exclude\_office\_ips: Optional\[bool]

Whether to add Microsoft IPs to Split Tunnel exclusions.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20exclude_office_ips">Link to this property</a>

<details>

<summary>

fallback\_domains: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)">FallbackDomain</a>]]

</summary>

suffix: str

The domain suffix to match when resolving locally.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20suffix">Link to this property</a>

description: Optional\[str]

A description of the fallback domain, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

dns\_server: Optional\[List\[str]]

A list of IP addresses to handle domain resolution.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20dns_server">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20fallback_domains">Link to this property</a>

gateway\_unique\_id: Optional\[str]

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20gateway_unique_id">Link to this property</a>

<details>

<summary>

global\_acceleration: Optional\[GlobalAcceleration]

Global Acceleration settings for China. When configured, WARP clients connect to the Global Accelerator addresses instead of the default ones. Please contact your account representative to enable this feature on your account. See <a href="https://developers.cloudflare.com/china-network/concepts/global-acceleration/">https://developers.cloudflare.com/china-network/concepts/global-acceleration/</a>.

</summary>

api\_endpoints: List\[str]

IP:port entries for the API endpoints.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20api_endpoints">Link to this property</a>

enabled: bool

Global acceleration settings are used only when “enabled”.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20enabled">Link to this property</a>

masque\_endpoints: List\[str]

IP:port entries for the MASQUE tunnel endpoints. Either wireguard\_endpoints or masque\_endpoints must be provided.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20masque_endpoints">Link to this property</a>

wireguard\_endpoints: List\[str]

IP:port entries for the WireGuard tunnel endpoints. Either wireguard\_endpoints or masque\_endpoints must be provided.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20wireguard_endpoints">Link to this property</a>

autoswitch: Optional\[bool]

Automatically switch Global Acceleration regions based on device location. Defaults to false when not provided.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20autoswitch">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration">Link to this property</a>

<details>

<summary>

include: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)">SplitTunnelInclude</a>]]

List of routes included in the WARP client’s tunnel.

</summary>

One of the following:

<details>

<summary>

class TeamsDevicesIncludeSplitTunnelWithAddress: …

</summary>

address: str

The address in CIDR format to include in the tunnel. If <code>address</code> is present, <code>host</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20address">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class TeamsDevicesIncludeSplitTunnelWithHost: …

</summary>

host: str

The domain name to include in the tunnel. If <code>host</code> is present, <code>address</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20host">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20include">Link to this property</a>

policy\_id: Optional\[str]

maxLength36

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20policy_id">Link to this property</a>

<details>

<summary>

profile\_type: Optional\[Literal\["warp", "browser\_extension"]]

The client type to which the device settings profile applies. This field is set when the profile is created and cannot be changed.

</summary>

One of the following:

"warp"

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20profile_type%20%3E%20(member)%200">Link to this property</a>

"browser\_extension"

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20profile_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20profile_type">Link to this property</a>

register\_interface\_ip\_with\_dns: Optional\[bool]

Determines if the operating system will register WARP’s local interface IP with your on-premises DNS server.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20register_interface_ip_with_dns">Link to this property</a>

sccm\_vpn\_boundary\_support: Optional\[bool]

Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only).

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20sccm_vpn_boundary_support">Link to this property</a>

<details>

<summary>

service\_mode\_v2: Optional\[ServiceModeV2]

</summary>

mode: Optional\[str]

The mode to run the WARP client under.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20service_mode_v2%20%3E%20(property)%20mode">Link to this property</a>

port: Optional\[float]

The port number when used with proxy mode.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20service_mode_v2%20%3E%20(property)%20port">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20service_mode_v2">Link to this property</a>

support\_url: Optional\[str]

The URL to launch when the Send Feedback button is clicked.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20support_url">Link to this property</a>

switch\_locked: Optional\[bool]

Whether to allow the user to turn off the WARP switch and disconnect the client.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20switch_locked">Link to this property</a>

tunnel\_protocol: Optional\[str]

Determines which tunnel protocol to use.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnel_protocol">Link to this property</a>

uninstall\_protection: Optional\[bool]

Determines whether uninstalling the WARP client requires an override code. (Windows only).

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20uninstall_protection">Link to this property</a>

<details>

<summary>

virtual\_networks: Optional\[VirtualNetworks]

Virtual network access settings for the device.

</summary>

allowed: List\[str]

List of virtual network IDs the device is allowed to access. When virtual\_networks is set, at least one entry is required.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20virtual_networks%20%3E%20(property)%20allowed">Link to this property</a>

default: str

The default virtual network ID. Must be included in the <code>allowed</code> list.

formatuuid

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20virtual_networks%20%3E%20(property)%20default">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)%20%3E%20(property)%20virtual_networks">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_get_response%20%3E%20(schema)>)

<details>

<summary>

class DefaultEditResponse: …

</summary>

allow\_mode\_switch: Optional\[bool]

Whether to allow the user to switch WARP between modes.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20allow_mode_switch">Link to this property</a>

allow\_updates: Optional\[bool]

Whether to receive update notifications when a new version of the client is available.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20allow_updates">Link to this property</a>

allowed\_to\_leave: Optional\[bool]

Whether to allow devices to leave the organization.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20allowed_to_leave">Link to this property</a>

auto\_connect: Optional\[float]

The amount of time in seconds to reconnect after having been disabled.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20auto_connect">Link to this property</a>

captive\_portal: Optional\[float]

Turn on the captive portal after the specified amount of time.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20captive_portal">Link to this property</a>

default: Optional\[bool]

Whether the policy will be applied to matching devices.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20default">Link to this property</a>

disable\_auto\_fallback: Optional\[bool]

If the <code>dns_server</code> field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to <code>true</code>.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20disable_auto_fallback">Link to this property</a>

<details>

<summary>

dns\_search\_suffixes: Optional\[List\[DNSSearchSuffix]]

List of DNS search suffixes to apply to clients. Suffixes are evaluated in order. Use an empty array to clear.

</summary>

suffix: str

The DNS search suffix to append when resolving short hostnames.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20dns_search_suffixes%20%3E%20(items)%20%3E%20(property)%20suffix">Link to this property</a>

description: Optional\[str]

A description of the DNS search suffix.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20dns_search_suffixes%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20dns_search_suffixes">Link to this property</a>

enabled: Optional\[bool]

Whether the policy will be applied to matching devices.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

exclude: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)">SplitTunnelExclude</a>]]

List of routes excluded in the WARP client’s tunnel.

</summary>

One of the following:

<details>

<summary>

class TeamsDevicesExcludeSplitTunnelWithAddress: …

</summary>

address: str

The address in CIDR format to exclude from the tunnel. If <code>address</code> is present, <code>host</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20address">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class TeamsDevicesExcludeSplitTunnelWithHost: …

</summary>

host: str

The domain name to exclude from the tunnel. If <code>host</code> is present, <code>address</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20host">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20exclude">Link to this property</a>

exclude\_office\_ips: Optional\[bool]

Whether to add Microsoft IPs to Split Tunnel exclusions.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20exclude_office_ips">Link to this property</a>

<details>

<summary>

fallback\_domains: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)">FallbackDomain</a>]]

</summary>

suffix: str

The domain suffix to match when resolving locally.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20suffix">Link to this property</a>

description: Optional\[str]

A description of the fallback domain, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

dns\_server: Optional\[List\[str]]

A list of IP addresses to handle domain resolution.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)%20%3E%20(property)%20dns_server">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20fallback_domains">Link to this property</a>

gateway\_unique\_id: Optional\[str]

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20gateway_unique_id">Link to this property</a>

<details>

<summary>

global\_acceleration: Optional\[GlobalAcceleration]

Global Acceleration settings for China. When configured, WARP clients connect to the Global Accelerator addresses instead of the default ones. Please contact your account representative to enable this feature on your account. See <a href="https://developers.cloudflare.com/china-network/concepts/global-acceleration/">https://developers.cloudflare.com/china-network/concepts/global-acceleration/</a>.

</summary>

api\_endpoints: List\[str]

IP:port entries for the API endpoints.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20api_endpoints">Link to this property</a>

enabled: bool

Global acceleration settings are used only when “enabled”.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20enabled">Link to this property</a>

masque\_endpoints: List\[str]

IP:port entries for the MASQUE tunnel endpoints. Either wireguard\_endpoints or masque\_endpoints must be provided.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20masque_endpoints">Link to this property</a>

wireguard\_endpoints: List\[str]

IP:port entries for the WireGuard tunnel endpoints. Either wireguard\_endpoints or masque\_endpoints must be provided.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20wireguard_endpoints">Link to this property</a>

autoswitch: Optional\[bool]

Automatically switch Global Acceleration regions based on device location. Defaults to false when not provided.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration%20%3E%20(property)%20autoswitch">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20global_acceleration">Link to this property</a>

<details>

<summary>

include: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)">SplitTunnelInclude</a>]]

List of routes included in the WARP client’s tunnel.

</summary>

One of the following:

<details>

<summary>

class TeamsDevicesIncludeSplitTunnelWithAddress: …

</summary>

address: str

The address in CIDR format to include in the tunnel. If <code>address</code> is present, <code>host</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20address">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class TeamsDevicesIncludeSplitTunnelWithHost: …

</summary>

host: str

The domain name to include in the tunnel. If <code>host</code> is present, <code>address</code> must not be present.

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20host">Link to this property</a>

description: Optional\[str]

A description of the Split Tunnel item, displayed in the client UI.

maxLength100

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20include">Link to this property</a>

policy\_id: Optional\[str]

maxLength36

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20policy_id">Link to this property</a>

<details>

<summary>

profile\_type: Optional\[Literal\["warp", "browser\_extension"]]

The client type to which the device settings profile applies. This field is set when the profile is created and cannot be changed.

</summary>

One of the following:

"warp"

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20profile_type%20%3E%20(member)%200">Link to this property</a>

"browser\_extension"

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20profile_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20profile_type">Link to this property</a>

register\_interface\_ip\_with\_dns: Optional\[bool]

Determines if the operating system will register WARP’s local interface IP with your on-premises DNS server.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20register_interface_ip_with_dns">Link to this property</a>

sccm\_vpn\_boundary\_support: Optional\[bool]

Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only).

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20sccm_vpn_boundary_support">Link to this property</a>

<details>

<summary>

service\_mode\_v2: Optional\[ServiceModeV2]

</summary>

mode: Optional\[str]

The mode to run the WARP client under.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20service_mode_v2%20%3E%20(property)%20mode">Link to this property</a>

port: Optional\[float]

The port number when used with proxy mode.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20service_mode_v2%20%3E%20(property)%20port">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20service_mode_v2">Link to this property</a>

support\_url: Optional\[str]

The URL to launch when the Send Feedback button is clicked.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20support_url">Link to this property</a>

switch\_locked: Optional\[bool]

Whether to allow the user to turn off the WARP switch and disconnect the client.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20switch_locked">Link to this property</a>

tunnel\_protocol: Optional\[str]

Determines which tunnel protocol to use.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20tunnel_protocol">Link to this property</a>

uninstall\_protection: Optional\[bool]

Determines whether uninstalling the WARP client requires an override code. (Windows only).

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20uninstall_protection">Link to this property</a>

<details>

<summary>

virtual\_networks: Optional\[VirtualNetworks]

Virtual network access settings for the device.

</summary>

allowed: List\[str]

List of virtual network IDs the device is allowed to access. When virtual\_networks is set, at least one entry is required.

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20virtual_networks%20%3E%20(property)%20allowed">Link to this property</a>

default: str

The default virtual network ID. Must be included in the <code>allowed</code> list.

formatuuid

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20virtual_networks%20%3E%20(property)%20default">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)%20%3E%20(property)%20virtual_networks">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.policies.default%20%3E%20(model)%20default_edit_response%20%3E%20(schema)>)

#### Zero TrustDevicesPoliciesDefaultExcludes

##### [Get the Split Tunnel exclude list](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/subresources/excludes/methods/get)

zero\_trust.devices.policies.default.excludes.get(ExcludeGetParams\*\*kwargs) -> SyncSinglePage\[[SplitTunnelExclude](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/policy/exclude

##### [Set the Split Tunnel exclude list](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/subresources/excludes/methods/update)

zero\_trust.devices.policies.default.excludes.update(ExcludeUpdateParams\*\*kwargs) -> SyncSinglePage\[[SplitTunnelExclude](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)>)]

PUT/accounts/{account\_id}/devices/policy/exclude

#### Zero TrustDevicesPoliciesDefaultIncludes

##### [Get the Split Tunnel include list](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/subresources/includes/methods/get)

zero\_trust.devices.policies.default.includes.get(IncludeGetParams\*\*kwargs) -> SyncSinglePage\[[SplitTunnelInclude](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/policy/include

##### [Set the Split Tunnel include list](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/subresources/includes/methods/update)

zero\_trust.devices.policies.default.includes.update(IncludeUpdateParams\*\*kwargs) -> SyncSinglePage\[[SplitTunnelInclude](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)>)]

PUT/accounts/{account\_id}/devices/policy/include

#### Zero TrustDevicesPoliciesDefaultFallback Domains

##### [Get your Local Domain Fallback list](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/subresources/fallback_domains/methods/get)

zero\_trust.devices.policies.default.fallback\_domains.get(FallbackDomainGetParams\*\*kwargs) -> SyncSinglePage\[[FallbackDomain](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/policy/fallback\_domains

##### [Set your Local Domain Fallback list](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/subresources/fallback_domains/methods/update)

zero\_trust.devices.policies.default.fallback\_domains.update(FallbackDomainUpdateParams\*\*kwargs) -> SyncSinglePage\[[FallbackDomain](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)>)]

PUT/accounts/{account\_id}/devices/policy/fallback\_domains

#### Zero TrustDevicesPoliciesDefaultCertificates

##### [Get device certificate provisioning status](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/subresources/certificates/methods/get)

zero\_trust.devices.policies.default.certificates.get(CertificateGetParams\*\*kwargs) -> [DevicePolicyCertificates](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20device_policy_certificates%20%3E%20(schema)>)

GET/zones/{zone\_id}/devices/policy/certificates

##### [Update device certificate provisioning status](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/default/subresources/certificates/methods/edit)

zero\_trust.devices.policies.default.certificates.edit(CertificateEditParams\*\*kwargs) -> [DevicePolicyCertificates](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20device_policy_certificates%20%3E%20(schema)>)

PATCH/zones/{zone\_id}/devices/policy/certificates

#### Zero TrustDevicesPoliciesCustom

##### [List device settings profiles](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/methods/list)

zero\_trust.devices.policies.custom.list(CustomListParams\*\*kwargs) -> SyncSinglePage\[[SettingsPolicy](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/policies

##### [Get device settings profile by ID](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/methods/get)

zero\_trust.devices.policies.custom.get(strpolicy\_id, CustomGetParams\*\*kwargs) -> [SettingsPolicy](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/policy/{policy\_id}

##### [Create a device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/methods/create)

zero\_trust.devices.policies.custom.create(CustomCreateParams\*\*kwargs) -> [SettingsPolicy](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/policy

##### [Update a device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/methods/edit)

zero\_trust.devices.policies.custom.edit(strpolicy\_id, CustomEditParams\*\*kwargs) -> [SettingsPolicy](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)>)

PATCH/accounts/{account\_id}/devices/policy/{policy\_id}

##### [Delete a device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/methods/delete)

zero\_trust.devices.policies.custom.delete(strpolicy\_id, CustomDeleteParams\*\*kwargs) -> SyncSinglePage\[[SettingsPolicy](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20settings_policy%20%3E%20(schema)>)]

DELETE/accounts/{account\_id}/devices/policy/{policy\_id}

#### Zero TrustDevicesPoliciesCustomExcludes

##### [Get the Split Tunnel exclude list for a device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/subresources/excludes/methods/get)

zero\_trust.devices.policies.custom.excludes.get(strpolicy\_id, ExcludeGetParams\*\*kwargs) -> SyncSinglePage\[[SplitTunnelExclude](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/policy/{policy\_id}/exclude

##### [Set the Split Tunnel exclude list for a device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/subresources/excludes/methods/update)

zero\_trust.devices.policies.custom.excludes.update(strpolicy\_id, ExcludeUpdateParams\*\*kwargs) -> SyncSinglePage\[[SplitTunnelExclude](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_exclude%20%3E%20(schema)>)]

PUT/accounts/{account\_id}/devices/policy/{policy\_id}/exclude

#### Zero TrustDevicesPoliciesCustomIncludes

##### [Get the Split Tunnel include list for a device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/subresources/includes/methods/get)

zero\_trust.devices.policies.custom.includes.get(strpolicy\_id, IncludeGetParams\*\*kwargs) -> SyncSinglePage\[[SplitTunnelInclude](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/policy/{policy\_id}/include

##### [Set the Split Tunnel include list for a device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/subresources/includes/methods/update)

zero\_trust.devices.policies.custom.includes.update(strpolicy\_id, IncludeUpdateParams\*\*kwargs) -> SyncSinglePage\[[SplitTunnelInclude](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20split_tunnel_include%20%3E%20(schema)>)]

PUT/accounts/{account\_id}/devices/policy/{policy\_id}/include

#### Zero TrustDevicesPoliciesCustomFallback Domains

##### [Get the Local Domain Fallback list for a device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/subresources/fallback_domains/methods/get)

zero\_trust.devices.policies.custom.fallback\_domains.get(strpolicy\_id, FallbackDomainGetParams\*\*kwargs) -> SyncSinglePage\[[FallbackDomain](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/policy/{policy\_id}/fallback\_domains

##### [Set the Local Domain Fallback list for a device settings profile](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/policies/subresources/custom/subresources/fallback_domains/methods/update)

zero\_trust.devices.policies.custom.fallback\_domains.update(strpolicy\_id, FallbackDomainUpdateParams\*\*kwargs) -> SyncSinglePage\[[FallbackDomain](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.policies%20%3E%20(model)%20fallback_domain%20%3E%20(schema)>)]

PUT/accounts/{account\_id}/devices/policy/{policy\_id}/fallback\_domains

#### Zero TrustDevicesPosture

##### [List posture rules](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/methods/list)

zero\_trust.devices.posture.list(PostureListParams\*\*kwargs) -> SyncSinglePage\[[DevicePostureRule](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/posture

##### [Get posture rule](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/methods/get)

zero\_trust.devices.posture.get(strrule\_id, PostureGetParams\*\*kwargs) -> [DevicePostureRule](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/posture/{rule\_id}

##### [Create posture rule](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/methods/create)

zero\_trust.devices.posture.create(PostureCreateParams\*\*kwargs) -> [DevicePostureRule](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/posture

##### [Update posture rule](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/methods/update)

zero\_trust.devices.posture.update(strrule\_id, PostureUpdateParams\*\*kwargs) -> [DevicePostureRule](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)>)

PUT/accounts/{account\_id}/devices/posture/{rule\_id}

##### [Delete posture rule](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/methods/delete)

zero\_trust.devices.posture.delete(strrule\_id, PostureDeleteParams\*\*kwargs) -> [PostureDeleteResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20posture_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/devices/posture/{rule\_id}

##### ModelsExpand Collapse

str

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20carbonblack_input%20%3E%20(schema)>)

<details>

<summary>

class ClientCertificateInput: …

</summary>

certificate\_id: str

UUID of Cloudflare managed certificate.

maxLength36

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20client_certificate_input%20%3E%20(schema)%20%3E%20(property)%20certificate_id">Link to this property</a>

cn: str

Common Name that is protected by the certificate.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20client_certificate_input%20%3E%20(schema)%20%3E%20(property)%20cn">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20client_certificate_input%20%3E%20(schema)>)

<details>

<summary>

class CrowdstrikeInput: …

</summary>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

last\_seen: Optional\[str]

For more details on last seen, please refer to the Crowdstrike documentation.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20last_seen">Link to this property</a>

<details>

<summary>

operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator">Link to this property</a>

os: Optional\[str]

Os Version.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20os">Link to this property</a>

overall: Optional\[str]

Overall.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20overall">Link to this property</a>

sensor\_config: Optional\[str]

SensorConfig.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20sensor_config">Link to this property</a>

<details>

<summary>

state: Optional\[Literal\["online", "offline", "unknown"]]

For more details on state, please refer to the Crowdstrike documentation.

</summary>

One of the following:

"online"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"offline"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

"unknown"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

version: Optional\[str]

Version.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

<details>

<summary>

version\_operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Version Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)>)

<details>

<summary>

<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)">DeviceInput</a>

The value to be checked against.

</summary>

One of the following:

<details>

<summary>

class FileInput: …

</summary>

<details>

<summary>

operating\_system: Literal\["windows", "linux", "mac"]

Operating system.

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

path: str

File path.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20path">Link to this property</a>

exists: Optional\[bool]

Whether or not file exists.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20exists">Link to this property</a>

sha256: Optional\[str]

SHA-256.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20sha256">Link to this property</a>

thumbprint: Optional\[str]

Signing certificate thumbprint.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20thumbprint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class UniqueClientIDInput: …

</summary>

id: str

List ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

operating\_system: Literal\["android", "ios", "chromeos"]

Operating System.

</summary>

One of the following:

"android"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"ios"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

"chromeos"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class DomainJoinedInput: …

</summary>

operating\_system: Literal\["windows"]

Operating System.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20domain_joined_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

domain: Optional\[str]

Domain.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20domain_joined_input%20%3E%20(schema)%20%3E%20(property)%20domain">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20domain_joined_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class OSVersionInput: …

</summary>

operating\_system: Literal\["windows"]

Operating System.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

<details>

<summary>

operator: Literal\["&lt;", "&lt;=", "&gt;", 2 more]

Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator">Link to this property</a>

version: str

Version of OS.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

os\_distro\_name: Optional\[str]

Operating System Distribution Name (linux only).

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20os_distro_name">Link to this property</a>

os\_distro\_revision: Optional\[str]

Version of OS Distribution (linux only).

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20os_distro_revision">Link to this property</a>

os\_version\_extra: Optional\[str]

Additional operating system version details. For Windows, the UBR (Update Build Revision). For Mac or iOS, the Product Version Extra. For Linux, the distribution name and version.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20os_version_extra">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class FirewallInput: …

</summary>

enabled: bool

Enabled.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

operating\_system: Literal\["windows", "mac"]

Operating System.

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class SentineloneInput: …

</summary>

<details>

<summary>

operating\_system: Literal\["windows", "linux", "mac"]

Operating system.

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

path: str

File path.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20path">Link to this property</a>

sha256: Optional\[str]

SHA-256.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20sha256">Link to this property</a>

thumbprint: Optional\[str]

Signing certificate thumbprint.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20thumbprint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class TeamsDevicesCarbonblackInputRequest: …

</summary>

<details>

<summary>

operating\_system: Literal\["windows", "linux", "mac"]

Operating system.

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20operating_system%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20operating_system">Link to this property</a>

path: str

File path.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20path">Link to this property</a>

sha256: Optional\[str]

SHA-256.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20sha256">Link to this property</a>

thumbprint: Optional\[str]

Signing certificate thumbprint.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20thumbprint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

class TeamsDevicesAccessSerialNumberListInputRequest: …

</summary>

id: str

UUID of Access List.

maxLength36

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

class DiskEncryptionInput: …

</summary>

check\_disks: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20carbonblack_input%20%3E%20(schema)">CarbonblackInput</a>]]

List of volume names to be checked for encryption.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20disk_encryption_input%20%3E%20(schema)%20%3E%20(property)%20checkDisks">Link to this property</a>

require\_all: Optional\[bool]

Whether to check all disks for encryption.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20disk_encryption_input%20%3E%20(schema)%20%3E%20(property)%20requireAll">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20disk_encryption_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class TeamsDevicesApplicationInputRequest: …

</summary>

<details>

<summary>

operating\_system: Literal\["windows", "linux", "mac"]

Operating system.

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20operating_system%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20operating_system">Link to this property</a>

path: str

Path for the application.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20path">Link to this property</a>

sha256: Optional\[str]

SHA-256.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20sha256">Link to this property</a>

thumbprint: Optional\[str]

Signing certificate thumbprint.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20thumbprint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%209">Link to this property</a>

<details>

<summary>

class ClientCertificateInput: …

</summary>

certificate\_id: str

UUID of Cloudflare managed certificate.

maxLength36

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20client_certificate_input%20%3E%20(schema)%20%3E%20(property)%20certificate_id">Link to this property</a>

cn: str

Common Name that is protected by the certificate.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20client_certificate_input%20%3E%20(schema)%20%3E%20(property)%20cn">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20client_certificate_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class TeamsDevicesClientCertificateV2InputRequest: …

</summary>

certificate\_id: str

UUID of Cloudflare managed certificate.

maxLength36

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20certificate_id">Link to this property</a>

check\_private\_key: bool

Confirm the certificate was not imported from another device. We recommend keeping this enabled unless the certificate was deployed without a private key.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20check_private_key">Link to this property</a>

<details>

<summary>

operating\_system: Literal\["windows", "linux", "mac"]

Operating system.

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20operating_system%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20operating_system">Link to this property</a>

cn: Optional\[str]

Certificate Common Name. This may include one or more variables in the ${ } notation. Only ${serial\_number} and ${hostname} are valid variables.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20cn">Link to this property</a>

<details>

<summary>

extended\_key\_usage: Optional\[List\[Literal\["clientAuth", "emailProtection"]]]

List of values indicating purposes for which the certificate public key can be used.

</summary>

One of the following:

"clientAuth"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20extended_key_usage%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"emailProtection"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20extended_key_usage%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20extended_key_usage">Link to this property</a>

<details>

<summary>

locations: Optional\[TeamsDevicesClientCertificateV2InputRequestLocations]

</summary>

paths: Optional\[List\[str]]

List of paths to check for client certificate on linux.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20locations%20%3E%20(property)%20paths">Link to this property</a>

<details>

<summary>

trust\_stores: Optional\[List\[Literal\["system", "user"]]]

List of trust stores to check for client certificate.

</summary>

One of the following:

"system"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20locations%20%3E%20(property)%20trust_stores%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"user"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20locations%20%3E%20(property)%20trust_stores%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20locations%20%3E%20(property)%20trust_stores">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20locations">Link to this property</a>

subject\_alternative\_names: Optional\[List\[str]]

List of certificate Subject Alternative Names.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20subject_alternative_names">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2011">Link to this property</a>

<details>

<summary>

class TeamsDevicesAntivirusInputRequest: …

</summary>

update\_window\_days: Optional\[float]

Number of days that the antivirus should be updated within.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20update_window_days">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2012">Link to this property</a>

<details>

<summary>

class WorkspaceOneInput: …

</summary>

<details>

<summary>

compliance\_status: Literal\["compliant", "noncompliant", "unknown"]

Compliance Status.

</summary>

One of the following:

"compliant"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%200">Link to this property</a>

"noncompliant"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%201">Link to this property</a>

"unknown"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status">Link to this property</a>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class CrowdstrikeInput: …

</summary>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

last\_seen: Optional\[str]

For more details on last seen, please refer to the Crowdstrike documentation.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20last_seen">Link to this property</a>

<details>

<summary>

operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20operator">Link to this property</a>

os: Optional\[str]

Os Version.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20os">Link to this property</a>

overall: Optional\[str]

Overall.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20overall">Link to this property</a>

sensor\_config: Optional\[str]

SensorConfig.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20sensor_config">Link to this property</a>

<details>

<summary>

state: Optional\[Literal\["online", "offline", "unknown"]]

For more details on state, please refer to the Crowdstrike documentation.

</summary>

One of the following:

"online"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"offline"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

"unknown"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

version: Optional\[str]

Version.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

<details>

<summary>

version\_operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Version Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)%20%3E%20(property)%20versionOperator">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20crowdstrike_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class IntuneInput: …

</summary>

<details>

<summary>

compliance\_status: Literal\["compliant", "noncompliant", "unknown", 3 more]

Compliance Status.

</summary>

One of the following:

"compliant"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%200">Link to this property</a>

"noncompliant"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%201">Link to this property</a>

"unknown"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%202">Link to this property</a>

"notapplicable"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%203">Link to this property</a>

"ingraceperiod"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%204">Link to this property</a>

"error"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status">Link to this property</a>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class KolideInput: …

</summary>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

<details>

<summary>

auth\_state: Optional\[List\[Literal\["Good", "Notified", "Will Block", "Blocked"]]]

The set of Kolide device authentication states that pass the posture check. Device must match one of the specified states.

</summary>

One of the following:

"Good"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"Notified"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"Will Block"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"Blocked"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state">Link to this property</a>

<details>

<summary>

count\_operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Count Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator">Link to this property</a>

issue\_count: Optional\[str]

The Number of Issues.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20issue_count">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class TaniumInput: …

</summary>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

eid\_last\_seen: Optional\[str]

For more details on eid last seen, refer to the Tanium documentation.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20eid_last_seen">Link to this property</a>

<details>

<summary>

operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Operator to evaluate risk\_level or eid\_last\_seen.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator">Link to this property</a>

<details>

<summary>

risk\_level: Optional\[Literal\["low", "medium", "high", "critical"]]

For more details on risk level, refer to the Tanium documentation.

</summary>

One of the following:

"low"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%200">Link to this property</a>

"medium"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%201">Link to this property</a>

"high"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%202">Link to this property</a>

"critical"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level">Link to this property</a>

<details>

<summary>

score\_operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Score Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator">Link to this property</a>

total\_score: Optional\[float]

For more details on total score, refer to the Tanium documentation.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20total_score">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class SentineloneS2sInput: …

</summary>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

active\_threats: Optional\[float]

The Number of active threats.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20active_threats">Link to this property</a>

infected: Optional\[bool]

Whether device is infected.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20infected">Link to this property</a>

is\_active: Optional\[bool]

Whether device is active.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20is_active">Link to this property</a>

<details>

<summary>

network\_status: Optional\[Literal\["connected", "disconnected", "disconnecting", "connecting"]]

Network status of device.

</summary>

One of the following:

"connected"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status%20%3E%20(member)%200">Link to this property</a>

"disconnected"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status%20%3E%20(member)%201">Link to this property</a>

"disconnecting"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status%20%3E%20(member)%202">Link to this property</a>

"connecting"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status">Link to this property</a>

<details>

<summary>

operational\_state: Optional\[Literal\["na", "partially\_disabled", "auto\_fully\_disabled", 4 more]]

Agent operational state.

</summary>

One of the following:

"na"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%200">Link to this property</a>

"partially\_disabled"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%201">Link to this property</a>

"auto\_fully\_disabled"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%202">Link to this property</a>

"fully\_disabled"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%203">Link to this property</a>

"auto\_partially\_disabled"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%204">Link to this property</a>

"disabled\_error"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%205">Link to this property</a>

"db\_corruption"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state">Link to this property</a>

<details>

<summary>

operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class TeamsDevicesCustomS2sInputRequest: …

</summary>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2019%20%3E%20(property)%20connection_id">Link to this property</a>

<details>

<summary>

operator: Literal\["&lt;", "&lt;=", "&gt;", 2 more]

Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2019%20%3E%20(property)%20operator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2019%20%3E%20(property)%20operator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2019%20%3E%20(property)%20operator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2019%20%3E%20(property)%20operator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2019%20%3E%20(property)%20operator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2019%20%3E%20(property)%20operator">Link to this property</a>

score: float

A value between 0-100 assigned to devices set by the 3rd party posture provider.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2019%20%3E%20(property)%20score">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)%20%3E%20(variant)%2019">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_input%20%3E%20(schema)>)

<details>

<summary>

class DeviceMatch: …

</summary>

<details>

<summary>

platform: Optional\[Literal\["windows", "mac", "linux", 3 more]]

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%200">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%201">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%202">Link to this property</a>

"android"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%203">Link to this property</a>

"ios"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%204">Link to this property</a>

"chromeos"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)>)

<details>

<summary>

class DevicePostureRule: …

</summary>

id: Optional\[str]

API UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

description: Optional\[str]

The description of the device posture rule.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

enabled: Optional\[bool]

Whether the rule is enabled. This is a computed, read-only value. It is false for deprecated Kolide posture rules that still use the issue\_count input, and true otherwise.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

expiration: Optional\[str]

Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20expiration">Link to this property</a>

input: Optional\[DeviceInput]

The value to be checked against.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20input">Link to this property</a>

<details>

<summary>

match: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)">DeviceMatch</a>]]

The conditions that the client must match to run the rule.

</summary>

<details>

<summary>

platform: Optional\[Literal\["windows", "mac", "linux", 3 more]]

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%200">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%201">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%202">Link to this property</a>

"android"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%203">Link to this property</a>

"ios"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%204">Link to this property</a>

"chromeos"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_match%20%3E%20(schema)%20%3E%20(property)%20platform">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20match">Link to this property</a>

name: Optional\[str]

The name of the device posture rule.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

schedule: Optional\[str]

Polling frequency for the WARP client posture check. Default: <code>5m</code> (poll every five minutes). Minimum: <code>1m</code>.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20schedule">Link to this property</a>

<details>

<summary>

type: Optional\[Literal\["file", "application", "tanium", 20 more]]

The type of device posture rule.

</summary>

One of the following:

"file"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"application"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"tanium"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

"gateway"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

"warp"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

"disk\_encryption"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%205">Link to this property</a>

"serial\_number"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%206">Link to this property</a>

"sentinelone"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%207">Link to this property</a>

"carbonblack"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%208">Link to this property</a>

"firewall"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%209">Link to this property</a>

"os\_version"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2010">Link to this property</a>

"domain\_joined"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2011">Link to this property</a>

"client\_certificate"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2012">Link to this property</a>

"client\_certificate\_v2"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2013">Link to this property</a>

"antivirus"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2014">Link to this property</a>

"unique\_client\_id"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2015">Link to this property</a>

"kolide"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2016">Link to this property</a>

"tanium\_s2s"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2017">Link to this property</a>

"crowdstrike\_s2s"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2018">Link to this property</a>

"intune"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2019">Link to this property</a>

"workspace\_one"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2020">Link to this property</a>

"sentinelone\_s2s"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2021">Link to this property</a>

"custom\_s2s"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%2022">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20device_posture_rule%20%3E%20(schema)>)

<details>

<summary>

class DiskEncryptionInput: …

</summary>

check\_disks: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20carbonblack_input%20%3E%20(schema)">CarbonblackInput</a>]]

List of volume names to be checked for encryption.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20disk_encryption_input%20%3E%20(schema)%20%3E%20(property)%20checkDisks">Link to this property</a>

require\_all: Optional\[bool]

Whether to check all disks for encryption.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20disk_encryption_input%20%3E%20(schema)%20%3E%20(property)%20requireAll">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20disk_encryption_input%20%3E%20(schema)>)

<details>

<summary>

class DomainJoinedInput: …

</summary>

operating\_system: Literal\["windows"]

Operating System.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20domain_joined_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

domain: Optional\[str]

Domain.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20domain_joined_input%20%3E%20(schema)%20%3E%20(property)%20domain">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20domain_joined_input%20%3E%20(schema)>)

<details>

<summary>

class FileInput: …

</summary>

<details>

<summary>

operating\_system: Literal\["windows", "linux", "mac"]

Operating system.

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

path: str

File path.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20path">Link to this property</a>

exists: Optional\[bool]

Whether or not file exists.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20exists">Link to this property</a>

sha256: Optional\[str]

SHA-256.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20sha256">Link to this property</a>

thumbprint: Optional\[str]

Signing certificate thumbprint.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)%20%3E%20(property)%20thumbprint">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20file_input%20%3E%20(schema)>)

<details>

<summary>

class FirewallInput: …

</summary>

enabled: bool

Enabled.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

operating\_system: Literal\["windows", "mac"]

Operating System.

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20firewall_input%20%3E%20(schema)>)

<details>

<summary>

class IntuneInput: …

</summary>

<details>

<summary>

compliance\_status: Literal\["compliant", "noncompliant", "unknown", 3 more]

Compliance Status.

</summary>

One of the following:

"compliant"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%200">Link to this property</a>

"noncompliant"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%201">Link to this property</a>

"unknown"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%202">Link to this property</a>

"notapplicable"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%203">Link to this property</a>

"ingraceperiod"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%204">Link to this property</a>

"error"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status">Link to this property</a>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20intune_input%20%3E%20(schema)>)

<details>

<summary>

class KolideInput: …

</summary>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

<details>

<summary>

auth\_state: Optional\[List\[Literal\["Good", "Notified", "Will Block", "Blocked"]]]

The set of Kolide device authentication states that pass the posture check. Device must match one of the specified states.

</summary>

One of the following:

"Good"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"Notified"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"Will Block"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"Blocked"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20auth_state">Link to this property</a>

<details>

<summary>

count\_operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Count Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20countOperator">Link to this property</a>

issue\_count: Optional\[str]

The Number of Issues.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)%20%3E%20(property)%20issue_count">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20kolide_input%20%3E%20(schema)>)

<details>

<summary>

class OSVersionInput: …

</summary>

operating\_system: Literal\["windows"]

Operating System.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

<details>

<summary>

operator: Literal\["&lt;", "&lt;=", "&gt;", 2 more]

Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20operator">Link to this property</a>

version: str

Version of OS.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

os\_distro\_name: Optional\[str]

Operating System Distribution Name (linux only).

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20os_distro_name">Link to this property</a>

os\_distro\_revision: Optional\[str]

Version of OS Distribution (linux only).

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20os_distro_revision">Link to this property</a>

os\_version\_extra: Optional\[str]

Additional operating system version details. For Windows, the UBR (Update Build Revision). For Mac or iOS, the Product Version Extra. For Linux, the distribution name and version.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)%20%3E%20(property)%20os_version_extra">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20os_version_input%20%3E%20(schema)>)

<details>

<summary>

class SentineloneInput: …

</summary>

<details>

<summary>

operating\_system: Literal\["windows", "linux", "mac"]

Operating system.

</summary>

One of the following:

"windows"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"linux"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

"mac"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

path: str

File path.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20path">Link to this property</a>

sha256: Optional\[str]

SHA-256.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20sha256">Link to this property</a>

thumbprint: Optional\[str]

Signing certificate thumbprint.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)%20%3E%20(property)%20thumbprint">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_input%20%3E%20(schema)>)

<details>

<summary>

class SentineloneS2sInput: …

</summary>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

active\_threats: Optional\[float]

The Number of active threats.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20active_threats">Link to this property</a>

infected: Optional\[bool]

Whether device is infected.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20infected">Link to this property</a>

is\_active: Optional\[bool]

Whether device is active.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20is_active">Link to this property</a>

<details>

<summary>

network\_status: Optional\[Literal\["connected", "disconnected", "disconnecting", "connecting"]]

Network status of device.

</summary>

One of the following:

"connected"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status%20%3E%20(member)%200">Link to this property</a>

"disconnected"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status%20%3E%20(member)%201">Link to this property</a>

"disconnecting"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status%20%3E%20(member)%202">Link to this property</a>

"connecting"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20network_status">Link to this property</a>

<details>

<summary>

operational\_state: Optional\[Literal\["na", "partially\_disabled", "auto\_fully\_disabled", 4 more]]

Agent operational state.

</summary>

One of the following:

"na"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%200">Link to this property</a>

"partially\_disabled"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%201">Link to this property</a>

"auto\_fully\_disabled"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%202">Link to this property</a>

"fully\_disabled"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%203">Link to this property</a>

"auto\_partially\_disabled"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%204">Link to this property</a>

"disabled\_error"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%205">Link to this property</a>

"db\_corruption"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operational_state">Link to this property</a>

<details>

<summary>

operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)%20%3E%20(property)%20operator">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20sentinelone_s2s_input%20%3E%20(schema)>)

<details>

<summary>

class TaniumInput: …

</summary>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

eid\_last\_seen: Optional\[str]

For more details on eid last seen, refer to the Tanium documentation.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20eid_last_seen">Link to this property</a>

<details>

<summary>

operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Operator to evaluate risk\_level or eid\_last\_seen.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20operator">Link to this property</a>

<details>

<summary>

risk\_level: Optional\[Literal\["low", "medium", "high", "critical"]]

For more details on risk level, refer to the Tanium documentation.

</summary>

One of the following:

"low"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%200">Link to this property</a>

"medium"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%201">Link to this property</a>

"high"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%202">Link to this property</a>

"critical"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20risk_level">Link to this property</a>

<details>

<summary>

score\_operator: Optional\[Literal\["&lt;", "&lt;=", "&gt;", 2 more]]

Score Operator.

</summary>

One of the following:

"&lt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%200">Link to this property</a>

"&lt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%201">Link to this property</a>

"&gt;"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%202">Link to this property</a>

"&gt;="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%203">Link to this property</a>

"=="

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20scoreOperator">Link to this property</a>

total\_score: Optional\[float]

For more details on total score, refer to the Tanium documentation.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)%20%3E%20(property)%20total_score">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20tanium_input%20%3E%20(schema)>)

<details>

<summary>

class UniqueClientIDInput: …

</summary>

id: str

List ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

operating\_system: Literal\["android", "ios", "chromeos"]

Operating System.

</summary>

One of the following:

"android"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%200">Link to this property</a>

"ios"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%201">Link to this property</a>

"chromeos"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20operating_system%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)%20%3E%20(property)%20operating_system">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20unique_client_id_input%20%3E%20(schema)>)

<details>

<summary>

class WorkspaceOneInput: …

</summary>

<details>

<summary>

compliance\_status: Literal\["compliant", "noncompliant", "unknown"]

Compliance Status.

</summary>

One of the following:

"compliant"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%200">Link to this property</a>

"noncompliant"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%201">Link to this property</a>

"unknown"

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20compliance_status">Link to this property</a>

connection\_id: str

Posture Integration ID.

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)%20%3E%20(property)%20connection_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20workspace_one_input%20%3E%20(schema)>)

<details>

<summary>

class PostureDeleteResponse: …

</summary>

id: Optional\[str]

API UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20posture_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture%20%3E%20(model)%20posture_delete_response%20%3E%20(schema)>)

#### Zero TrustDevicesPostureIntegrations

##### [List posture integrations](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/list)

zero\_trust.devices.posture.integrations.list(IntegrationListParams\*\*kwargs) -> SyncSinglePage\[[Integration](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)>)]

GET/accounts/{account\_id}/devices/posture/integration

##### [Get posture integration](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/get)

zero\_trust.devices.posture.integrations.get(strintegration\_id, IntegrationGetParams\*\*kwargs) -> [Integration](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/posture/integration/{integration\_id}

##### [Create posture integration](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/create)

zero\_trust.devices.posture.integrations.create(IntegrationCreateParams\*\*kwargs) -> [Integration](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/posture/integration

##### [Update posture integration](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/edit)

zero\_trust.devices.posture.integrations.edit(strintegration\_id, IntegrationEditParams\*\*kwargs) -> [Integration](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)>)

PATCH/accounts/{account\_id}/devices/posture/integration/{integration\_id}

##### [Delete posture integration](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/delete)

zero\_trust.devices.posture.integrations.delete(strintegration\_id, IntegrationDeleteParams\*\*kwargs) -> [IntegrationDeleteResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/devices/posture/integration/{integration\_id}

##### ModelsExpand Collapse

<details>

<summary>

class Integration: …

</summary>

id: Optional\[str]

API UUID.

maxLength36

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

config: Optional\[Config]

The configuration object containing third-party integration information.

</summary>

api\_url: str

The Workspace One API URL provided in the Workspace One Admin Dashboard.

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20api_url">Link to this property</a>

auth\_url: str

The Workspace One Authorization URL depending on your region.

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20auth_url">Link to this property</a>

client\_id: str

The Workspace One client ID provided in the Workspace One Admin Dashboard.

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

interval: Optional\[str]

The interval between each posture check with the third-party API. Use <code>m</code> for minutes (e.g. <code>5m</code>) and <code>h</code> for hours (e.g. <code>12h</code>).

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20interval">Link to this property</a>

name: Optional\[str]

The name of the device posture integration.

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

type: Optional\[Literal\["workspace\_one", "crowdstrike\_s2s", "uptycs", 5 more]]

The type of device posture integration.

</summary>

One of the following:

"workspace\_one"

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"crowdstrike\_s2s"

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"uptycs"

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

"intune"

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

"kolide"

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

"tanium\_s2s"

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%205">Link to this property</a>

"sentinelone\_s2s"

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%206">Link to this property</a>

"custom\_s2s"

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%207">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration%20%3E%20(schema)>)

<details>

<summary>

Union\[str, object, null]

</summary>

One of the following:

str

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration_delete_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

object

<a href="#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration_delete_response%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.posture.integrations%20%3E%20(model)%20integration_delete_response%20%3E%20(schema)>)

#### Zero TrustDevicesRevoke

##### [Revoke devices (deprecated)](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/revoke/methods/create)

Deprecated

zero\_trust.devices.revoke.create(RevokeCreateParams\*\*kwargs) -> [RevokeCreateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.revoke%20%3E%20(model)%20revoke_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/revoke

##### ModelsExpand Collapse

<details>

<summary>

Union\[str, object, null]

</summary>

One of the following:

str

<a href="#(resource)%20zero_trust.devices.revoke%20%3E%20(model)%20revoke_create_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

object

<a href="#(resource)%20zero_trust.devices.revoke%20%3E%20(model)%20revoke_create_response%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.revoke%20%3E%20(model)%20revoke_create_response%20%3E%20(schema)>)

#### Zero TrustDevicesSettings

##### [Get device settings](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/settings/methods/get)

zero\_trust.devices.settings.get(SettingGetParams\*\*kwargs) -> [DeviceSettings](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/settings

##### [Update device settings (deprecated)](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/settings/methods/update)

Deprecated

zero\_trust.devices.settings.update(SettingUpdateParams\*\*kwargs) -> [DeviceSettings](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)>)

PUT/accounts/{account\_id}/devices/settings

##### [Update device settings](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/settings/methods/edit)

zero\_trust.devices.settings.edit(SettingEditParams\*\*kwargs) -> [DeviceSettings](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)>)

PATCH/accounts/{account\_id}/devices/settings

##### [Reset device settings](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/settings/methods/delete)

zero\_trust.devices.settings.delete(SettingDeleteParams\*\*kwargs) -> [DeviceSettings](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/devices/settings

##### ModelsExpand Collapse

<details>

<summary>

class DeviceSettings: …

</summary>

disable\_for\_time: Optional\[float]

Sets the time limit, in seconds, that a user can use an override code to bypass WARP.

<a href="#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)%20%3E%20(property)%20disable_for_time">Link to this property</a>

external\_emergency\_signal\_enabled: Optional\[bool]

Controls whether the external emergency disconnect feature is enabled.

<a href="#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)%20%3E%20(property)%20external_emergency_signal_enabled">Link to this property</a>

external\_emergency\_signal\_fingerprint: Optional\[str]

The SHA256 fingerprint (64 hexadecimal characters) of the HTTPS server certificate for the external\_emergency\_signal\_url. If provided, the WARP client will use this value to verify the server’s identity. The device will ignore any response if the server’s certificate fingerprint does not exactly match this value.

<a href="#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)%20%3E%20(property)%20external_emergency_signal_fingerprint">Link to this property</a>

external\_emergency\_signal\_interval: Optional\[str]

The interval at which the WARP client fetches the emergency disconnect signal, formatted as a duration string (e.g., “5m”, “2m30s”, “1h”). Minimum 30 seconds.

<a href="#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)%20%3E%20(property)%20external_emergency_signal_interval">Link to this property</a>

external\_emergency\_signal\_url: Optional\[str]

The HTTPS URL from which to fetch the emergency disconnect signal. Must use HTTPS and have an IPv4 or IPv6 address as the host.

<a href="#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)%20%3E%20(property)%20external_emergency_signal_url">Link to this property</a>

gateway\_proxy\_enabled: Optional\[bool]

Enable gateway proxy filtering on TCP.

<a href="#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)%20%3E%20(property)%20gateway_proxy_enabled">Link to this property</a>

gateway\_udp\_proxy\_enabled: Optional\[bool]

Enable gateway proxy filtering on UDP.

<a href="#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)%20%3E%20(property)%20gateway_udp_proxy_enabled">Link to this property</a>

root\_certificate\_installation\_enabled: Optional\[bool]

Enable installation of cloudflare managed root certificate.

<a href="#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)%20%3E%20(property)%20root_certificate_installation_enabled">Link to this property</a>

use\_zt\_virtual\_ip: Optional\[bool]

Enable using CGNAT virtual IPv4.

<a href="#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)%20%3E%20(property)%20use_zt_virtual_ip">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.settings%20%3E%20(model)%20device_settings%20%3E%20(schema)>)

#### Zero TrustDevicesUnrevoke

##### [Unrevoke devices (deprecated)](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/unrevoke/methods/create)

Deprecated

zero\_trust.devices.unrevoke.create(UnrevokeCreateParams\*\*kwargs) -> [UnrevokeCreateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.unrevoke%20%3E%20(model)%20unrevoke_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/devices/unrevoke

##### ModelsExpand Collapse

<details>

<summary>

Union\[str, object, null]

</summary>

One of the following:

str

<a href="#(resource)%20zero_trust.devices.unrevoke%20%3E%20(model)%20unrevoke_create_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

object

<a href="#(resource)%20zero_trust.devices.unrevoke%20%3E%20(model)%20unrevoke_create_response%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.unrevoke%20%3E%20(model)%20unrevoke_create_response%20%3E%20(schema)>)

#### Zero TrustDevicesOverride Codes

##### [Get override codes (deprecated)](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/override_codes/methods/list)

Deprecated

zero\_trust.devices.override\_codes.list(strdevice\_id, OverrideCodeListParams\*\*kwargs) -> [OverrideCodeListResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_list_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/{device\_id}/override\_codes

##### [Get override codes](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/devices/subresources/override_codes/methods/get)

zero\_trust.devices.override\_codes.get(strregistration\_id, OverrideCodeGetParams\*\*kwargs) -> [OverrideCodeGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/devices/registrations/{registration\_id}/override\_codes

##### ModelsExpand Collapse

<details>

<summary>

class OverrideCodeListResponse: …

</summary>

<details>

<summary>

disable\_for\_time: Optional\[DisableForTime]

</summary>

\_1: Optional\[str]

Override code that is valid for 1 hour.

<a href="#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_list_response%20%3E%20(schema)%20%3E%20(property)%20disable_for_time%20%3E%20(property)%201">Link to this property</a>

\_12: Optional\[str]

Override code that is valid for 12 hour2.

<a href="#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_list_response%20%3E%20(schema)%20%3E%20(property)%20disable_for_time%20%3E%20(property)%2012">Link to this property</a>

\_24: Optional\[str]

Override code that is valid for 24 hour.2.

<a href="#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_list_response%20%3E%20(schema)%20%3E%20(property)%20disable_for_time%20%3E%20(property)%2024">Link to this property</a>

\_3: Optional\[str]

Override code that is valid for 3 hours.

<a href="#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_list_response%20%3E%20(schema)%20%3E%20(property)%20disable_for_time%20%3E%20(property)%203">Link to this property</a>

\_6: Optional\[str]

Override code that is valid for 6 hours.

<a href="#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_list_response%20%3E%20(schema)%20%3E%20(property)%20disable_for_time%20%3E%20(property)%206">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_list_response%20%3E%20(schema)%20%3E%20(property)%20disable_for_time">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_list_response%20%3E%20(schema)>)

<details>

<summary>

class OverrideCodeGetResponse: …

</summary>

disable\_for\_time: Optional\[Dict\[str, str]]

<a href="#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_get_response%20%3E%20(schema)%20%3E%20(property)%20disable_for_time">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.devices.override_codes%20%3E%20(model)%20override_code_get_response%20%3E%20(schema)>)

#### Zero TrustIdentity Providers

##### [List Access identity providers](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/identity_providers/methods/list)

zero\_trust.identity\_providers.list(IdentityProviderListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[IdentityProviderListResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)>)]

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/access/identity\_providers

##### [Get an Access identity provider](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/identity_providers/methods/get)

zero\_trust.identity\_providers.get(stridentity\_provider\_id, IdentityProviderGetParams\*\*kwargs) -> [IdentityProvider](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)>)

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/access/identity\_providers/{identity\_provider\_id}

##### [Add an Access identity provider](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/identity_providers/methods/create)

zero\_trust.identity\_providers.create(IdentityProviderCreateParams\*\*kwargs) -> [IdentityProvider](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)>)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/access/identity\_providers

##### [Update an Access identity provider](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/identity_providers/methods/update)

zero\_trust.identity\_providers.update(stridentity\_provider\_id, IdentityProviderUpdateParams\*\*kwargs) -> [IdentityProvider](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)>)

PUT/{accounts\_or\_zones}/{account\_or\_zone\_id}/access/identity\_providers/{identity\_provider\_id}

##### [Delete an Access identity provider](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/identity_providers/methods/delete)

zero\_trust.identity\_providers.delete(stridentity\_provider\_id, IdentityProviderDeleteParams\*\*kwargs) -> [IdentityProviderDeleteResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_delete_response%20%3E%20(schema)>)

DELETE/{accounts\_or\_zones}/{account\_or\_zone\_id}/access/identity\_providers/{identity\_provider\_id}

##### ModelsExpand Collapse

<details>

<summary>

class AzureAD: …

</summary>

<details>

<summary>

config: Config

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

conditional\_access\_enabled: Optional\[bool]

Should Cloudflare try to load authentication contexts from your account

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20conditional_access_enabled">Link to this property</a>

directory\_id: Optional\[str]

Your Azure directory uuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20directory_id">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

<details>

<summary>

prompt: Optional\[Literal\["login", "select\_account", "none"]]

Indicates the type of user interaction that is required. prompt=login forces the user to enter their credentials on that request, negating single-sign on. prompt=none is the opposite. It ensures that the user isn’t presented with any interactive prompt. If the request can’t be completed silently by using single-sign on, the Microsoft identity platform returns an interaction\_required error. prompt=select\_account interrupts single sign-on providing account selection experience listing all the accounts either in session or any remembered account or an option to choose to use a different account altogether.

</summary>

One of the following:

"login"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%200">Link to this property</a>

"select\_account"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%201">Link to this property</a>

"none"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt">Link to this property</a>

support\_groups: Optional\[bool]

Should Cloudflare try to load groups from your account

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20support_groups">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[SAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[SAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)>)

<details>

<summary>

class GenericOAuthConfig: …

</summary>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)%20%3E%20(property)%20client_secret">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)>)

<details>

<summary>

<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)">IdentityProvider</a>

</summary>

One of the following:

<details>

<summary>

class AzureAD: …

</summary>

<details>

<summary>

config: Config

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

conditional\_access\_enabled: Optional\[bool]

Should Cloudflare try to load authentication contexts from your account

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20conditional_access_enabled">Link to this property</a>

directory\_id: Optional\[str]

Your Azure directory uuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20directory_id">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

<details>

<summary>

prompt: Optional\[Literal\["login", "select\_account", "none"]]

Indicates the type of user interaction that is required. prompt=login forces the user to enter their credentials on that request, negating single-sign on. prompt=none is the opposite. It ensures that the user isn’t presented with any interactive prompt. If the request can’t be completed silently by using single-sign on, the Microsoft identity platform returns an interaction\_required error. prompt=select\_account interrupts single sign-on providing account selection experience listing all the accounts either in session or any remembered account or an option to choose to use a different account altogether.

</summary>

One of the following:

"login"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%200">Link to this property</a>

"select\_account"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%201">Link to this property</a>

"none"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt">Link to this property</a>

support\_groups: Optional\[bool]

Should Cloudflare try to load groups from your account

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20support_groups">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[SAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[SAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class AccessCentrify: …

</summary>

<details>

<summary>

config: AccessCentrifyConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

centrify\_account: Optional\[str]

Your centrify account url

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20centrify_account">Link to this property</a>

centrify\_app\_id: Optional\[str]

Your centrify app id

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20centrify_app_id">Link to this property</a>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessCentrifySAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessCentrifySAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

class AccessFacebook: …

</summary>

config: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)">GenericOAuthConfig</a>

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessFacebookSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessFacebookSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

class AccessGitHub: …

</summary>

config: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)">GenericOAuthConfig</a>

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessGitHubSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessGitHubSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

class AccessGoogle: …

</summary>

<details>

<summary>

config: AccessGoogleConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessGoogleSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessGoogleSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

class AccessGoogleApps: …

</summary>

<details>

<summary>

config: AccessGoogleAppsConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

apps\_domain: Optional\[str]

Your companies TLD

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20apps_domain">Link to this property</a>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

<details>

<summary>

prompt: Optional\[Literal\["none", "consent", "select\_account"]]

Configures the prompt behavior for Google authentication.

</summary>

One of the following:

"none"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%200">Link to this property</a>

"consent"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%201">Link to this property</a>

"select\_account"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20prompt">Link to this property</a>

use\_login\_hint: Optional\[bool]

Whether to use a previously authenticated Access email as a Google login hint when exactly one email matches the Workspace domain.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20use_login_hint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessGoogleAppsSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessGoogleAppsSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

class AccessLinkedin: …

</summary>

config: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)">GenericOAuthConfig</a>

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessLinkedinSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessLinkedinSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

class AccessOIDC: …

</summary>

<details>

<summary>

config: AccessOIDCConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

auth\_url: Optional\[str]

The authorization\_endpoint URL of your IdP

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20auth_url">Link to this property</a>

certs\_url: Optional\[str]

The jwks\_uri endpoint of your IdP to allow the IdP keys to sign the tokens

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20certs_url">Link to this property</a>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

pkce\_enabled: Optional\[bool]

Enable Proof Key for Code Exchange (PKCE)

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20pkce_enabled">Link to this property</a>

scopes: Optional\[List\[str]]

OAuth scopes

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20scopes">Link to this property</a>

token\_url: Optional\[str]

The token\_endpoint URL of your IdP

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20token_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessOIDCSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessOIDCSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

class AccessOkta: …

</summary>

<details>

<summary>

config: AccessOktaConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

authorization\_server\_id: Optional\[str]

Your okta authorization server id

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20authorization_server_id">Link to this property</a>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

okta\_account: Optional\[str]

Your okta account url

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20okta_account">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessOktaSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessOktaSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%208">Link to this property</a>

<details>

<summary>

class AccessOnelogin: …

</summary>

<details>

<summary>

config: AccessOneloginConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

onelogin\_account: Optional\[str]

Your OneLogin account url

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20onelogin_account">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessOneloginSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessOneloginSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%209">Link to this property</a>

<details>

<summary>

class AccessPingone: …

</summary>

<details>

<summary>

config: AccessPingoneConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

ping\_env\_id: Optional\[str]

Your PingOne environment identifier

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20ping_env_id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessPingoneSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessPingoneSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2010">Link to this property</a>

<details>

<summary>

class AccessSAML: …

</summary>

<details>

<summary>

config: AccessSAMLConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

attributes: Optional\[List\[str]]

A list of SAML attribute names that will be added to your signed JWT token and can be used in SAML policy rules.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20attributes">Link to this property</a>

email\_attribute\_name: Optional\[str]

The attribute name for email in the SAML response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20email_attribute_name">Link to this property</a>

enable\_encryption: Optional\[bool]

Enable SAML assertion encryption. When enabled, the Identity Provider will encrypt SAML assertions using the certificate from the assigned certificate set.

To enable encryption:

1. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>
2. Set this field to <code>true</code> and include <code>saml_certificate_set_id</code> in the PUT request
3. Configure the public certificate in your external Identity Provider

Note: Requires <code>saml_certificate_set_id</code> to be set when <code>true</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20enable_encryption">Link to this property</a>

force\_authn: Optional\[bool]

Asks the IdP to reauthenticate the user for each SAML authentication request.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20force_authn">Link to this property</a>

<details>

<summary>

header\_attributes: Optional\[List\[AccessSAMLConfigHeaderAttribute]]

Add a list of attribute names that will be returned in the response header from the Access callback.

</summary>

attribute\_name: Optional\[str]

attribute name from the IDP

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20header_attributes%20%3E%20(items)%20%3E%20(property)%20attribute_name">Link to this property</a>

header\_name: Optional\[str]

header that will be added on the request to the origin

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20header_attributes%20%3E%20(items)%20%3E%20(property)%20header_name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20header_attributes">Link to this property</a>

idp\_public\_certs: Optional\[List\[str]]

X509 certificate to verify the signature in the SAML authentication response

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20idp_public_certs">Link to this property</a>

issuer\_url: Optional\[str]

IdP Entity ID or Issuer URL

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20issuer_url">Link to this property</a>

max\_sso\_url\_length: Optional\[int]

The maximum URL length the IdP accepts for the SSO redirect URL. When the constructed SSO URL would exceed this length, the RelayState is stored server-side and a short nonce is passed to the IdP instead. Set this if your IdP enforces a URL length limit.

maximum100000

minimum512

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20max_sso_url_length">Link to this property</a>

sign\_request: Optional\[bool]

Sign the SAML authentication request with Access credentials. To verify the signature, use the public key from the Access certs endpoints.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20sign_request">Link to this property</a>

sso\_target\_url: Optional\[str]

URL to send the SAML authentication requests to

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20sso_target_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessSAMLSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessSAMLSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2011">Link to this property</a>

<details>

<summary>

class AccessYandex: …

</summary>

config: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)">GenericOAuthConfig</a>

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessYandexSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessYandexSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2012">Link to this property</a>

<details>

<summary>

class AccessOnetimepin: …

</summary>

<details>

<summary>

config: AccessOnetimepinConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

redirect\_url: Optional\[str]

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20config%20%3E%20(property)%20redirect_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessOnetimepinSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessOnetimepinSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2013">Link to this property</a>

<details>

<summary>

class AccessCloudflare: …

</summary>

<details>

<summary>

config: AccessCloudflareConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

redirect\_url: Optional\[str]

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20config%20%3E%20(property)%20redirect_url">Link to this property</a>

restrict\_to\_account\_members: Optional\[bool]

When enabled, only users who are members of your Cloudflare account can authenticate through this identity provider. When disabled, any user with a Cloudflare account can authenticate, subject to your Access policies.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20config%20%3E%20(property)%20restrict_to_account_members">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessCloudflareSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessCloudflareSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2014">Link to this property</a>

<details>

<summary>

class AccessPasskeys: …

</summary>

<details>

<summary>

config: AccessPasskeysConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

login\_page\_auto\_prompt: Optional\[bool]

When enabled, the Access login page automatically prompts the user to authenticate with a passkey.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20config%20%3E%20(property)%20login_page_auto_prompt">Link to this property</a>

redirect\_url: Optional\[str]

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20config%20%3E%20(property)%20redirect_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessPasskeysSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessPasskeysSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)%20%3E%20(variant)%2015">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider%20%3E%20(schema)>)

<details>

<summary>

class IdentityProviderSCIMConfig: …

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

</summary>

enabled: Optional\[bool]

A flag to enable or disable SCIM for the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

identity\_update\_behavior: Optional\[Literal\["automatic", "reauth", "no\_action"]]

Indicates how a SCIM event updates a user identity used for policy evaluation. Use “automatic” to automatically update a user’s identity and augment it with fields from the SCIM user resource. Use “reauth” to force re-authentication on group membership updates, user identity update will only occur after successful re-authentication. With “reauth” identities will not contain fields from the SCIM user resource. With “no\_action” identities will not be changed by SCIM updates in any way and users will not be prompted to reauthenticate.

</summary>

One of the following:

"automatic"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)%20%3E%20(property)%20identity_update_behavior%20%3E%20(member)%200">Link to this property</a>

"reauth"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)%20%3E%20(property)%20identity_update_behavior%20%3E%20(member)%201">Link to this property</a>

"no\_action"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)%20%3E%20(property)%20identity_update_behavior%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)%20%3E%20(property)%20identity_update_behavior">Link to this property</a>

scim\_base\_url: Optional\[str]

The base URL of Cloudflare’s SCIM V2.0 API endpoint.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)%20%3E%20(property)%20scim_base_url">Link to this property</a>

seat\_deprovision: Optional\[bool]

A flag to remove a user’s seat in Zero Trust when they have been deprovisioned in the Identity Provider. This cannot be enabled unless user\_deprovision is also enabled.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)%20%3E%20(property)%20seat_deprovision">Link to this property</a>

secret: Optional\[str]

A read-only token generated when the SCIM integration is enabled for the first time. It is redacted on subsequent requests. If you lose this you will need to refresh it at /access/identity\_providers/:idpID/refresh\_scim\_secret.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)%20%3E%20(property)%20secret">Link to this property</a>

user\_deprovision: Optional\[bool]

A flag to enable revoking a user’s session in Access and Gateway when they have been deprovisioned in the Identity Provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)%20%3E%20(property)%20user_deprovision">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_scim_config%20%3E%20(schema)>)

<details>

<summary>

Literal\["onetimepin", "azureAD", "saml", 13 more]

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

One of the following:

"onetimepin"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"azureAD"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"saml"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

"centrify"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

"facebook"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

"github"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

"google-apps"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%206">Link to this property</a>

"google"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%207">Link to this property</a>

"linkedin"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%208">Link to this property</a>

"oidc"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%209">Link to this property</a>

"okta"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%2010">Link to this property</a>

"onelogin"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%2011">Link to this property</a>

"pingone"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%2012">Link to this property</a>

"yandex"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%2013">Link to this property</a>

"cloudflare"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%2014">Link to this property</a>

"passkeys"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)%20%3E%20(member)%2015">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)>)

<details>

<summary>

<a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)">IdentityProviderListResponse</a>

</summary>

One of the following:

<details>

<summary>

class AzureAD: …

</summary>

<details>

<summary>

config: Config

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

conditional\_access\_enabled: Optional\[bool]

Should Cloudflare try to load authentication contexts from your account

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20conditional_access_enabled">Link to this property</a>

directory\_id: Optional\[str]

Your Azure directory uuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20directory_id">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

<details>

<summary>

prompt: Optional\[Literal\["login", "select\_account", "none"]]

Indicates the type of user interaction that is required. prompt=login forces the user to enter their credentials on that request, negating single-sign on. prompt=none is the opposite. It ensures that the user isn’t presented with any interactive prompt. If the request can’t be completed silently by using single-sign on, the Microsoft identity platform returns an interaction\_required error. prompt=select\_account interrupts single sign-on providing account selection experience listing all the accounts either in session or any remembered account or an option to choose to use a different account altogether.

</summary>

One of the following:

"login"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%200">Link to this property</a>

"select\_account"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%201">Link to this property</a>

"none"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20prompt">Link to this property</a>

support\_groups: Optional\[bool]

Should Cloudflare try to load groups from your account

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20support_groups">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[SAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[SAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20azure_ad%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

class AccessCentrify: …

</summary>

<details>

<summary>

config: AccessCentrifyConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

centrify\_account: Optional\[str]

Your centrify account url

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20centrify_account">Link to this property</a>

centrify\_app\_id: Optional\[str]

Your centrify app id

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20centrify_app_id">Link to this property</a>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessCentrifySAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessCentrifySAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

class AccessFacebook: …

</summary>

config: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)">GenericOAuthConfig</a>

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessFacebookSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessFacebookSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

class AccessGitHub: …

</summary>

config: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)">GenericOAuthConfig</a>

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessGitHubSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessGitHubSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

class AccessGoogle: …

</summary>

<details>

<summary>

config: AccessGoogleConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessGoogleSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessGoogleSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

class AccessGoogleApps: …

</summary>

<details>

<summary>

config: AccessGoogleAppsConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

apps\_domain: Optional\[str]

Your companies TLD

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20apps_domain">Link to this property</a>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

<details>

<summary>

prompt: Optional\[Literal\["none", "consent", "select\_account"]]

Configures the prompt behavior for Google authentication.

</summary>

One of the following:

"none"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%200">Link to this property</a>

"consent"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%201">Link to this property</a>

"select\_account"

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20prompt%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20prompt">Link to this property</a>

use\_login\_hint: Optional\[bool]

Whether to use a previously authenticated Access email as a Google login hint when exactly one email matches the Workspace domain.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config%20%3E%20(property)%20use_login_hint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessGoogleAppsSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessGoogleAppsSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

class AccessLinkedin: …

</summary>

config: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)">GenericOAuthConfig</a>

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessLinkedinSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessLinkedinSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

class AccessOIDC: …

</summary>

<details>

<summary>

config: AccessOIDCConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

auth\_url: Optional\[str]

The authorization\_endpoint URL of your IdP

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20auth_url">Link to this property</a>

certs\_url: Optional\[str]

The jwks\_uri endpoint of your IdP to allow the IdP keys to sign the tokens

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20certs_url">Link to this property</a>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

pkce\_enabled: Optional\[bool]

Enable Proof Key for Code Exchange (PKCE)

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20pkce_enabled">Link to this property</a>

scopes: Optional\[List\[str]]

OAuth scopes

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20scopes">Link to this property</a>

token\_url: Optional\[str]

The token\_endpoint URL of your IdP

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config%20%3E%20(property)%20token_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessOIDCSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessOIDCSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

class AccessOkta: …

</summary>

<details>

<summary>

config: AccessOktaConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

authorization\_server\_id: Optional\[str]

Your okta authorization server id

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20authorization_server_id">Link to this property</a>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

okta\_account: Optional\[str]

Your okta account url

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config%20%3E%20(property)%20okta_account">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessOktaSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessOktaSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%208">Link to this property</a>

<details>

<summary>

class AccessOnelogin: …

</summary>

<details>

<summary>

config: AccessOneloginConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

onelogin\_account: Optional\[str]

Your OneLogin account url

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config%20%3E%20(property)%20onelogin_account">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessOneloginSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessOneloginSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%209">Link to this property</a>

<details>

<summary>

class AccessPingone: …

</summary>

<details>

<summary>

config: AccessPingoneConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

claims: Optional\[List\[str]]

Custom claims

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20claims">Link to this property</a>

client\_id: Optional\[str]

Your OAuth Client ID

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20client_id">Link to this property</a>

client\_secret: Optional\[str]

Your OAuth Client Secret

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20client_secret">Link to this property</a>

email\_claim\_name: Optional\[str]

The claim name for email in the id\_token response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20email_claim_name">Link to this property</a>

ping\_env\_id: Optional\[str]

Your PingOne environment identifier

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config%20%3E%20(property)%20ping_env_id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessPingoneSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessPingoneSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2010">Link to this property</a>

<details>

<summary>

class AccessSAML: …

</summary>

<details>

<summary>

config: AccessSAMLConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

attributes: Optional\[List\[str]]

A list of SAML attribute names that will be added to your signed JWT token and can be used in SAML policy rules.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20attributes">Link to this property</a>

email\_attribute\_name: Optional\[str]

The attribute name for email in the SAML response.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20email_attribute_name">Link to this property</a>

enable\_encryption: Optional\[bool]

Enable SAML assertion encryption. When enabled, the Identity Provider will encrypt SAML assertions using the certificate from the assigned certificate set.

To enable encryption:

1. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>
2. Set this field to <code>true</code> and include <code>saml_certificate_set_id</code> in the PUT request
3. Configure the public certificate in your external Identity Provider

Note: Requires <code>saml_certificate_set_id</code> to be set when <code>true</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20enable_encryption">Link to this property</a>

force\_authn: Optional\[bool]

Asks the IdP to reauthenticate the user for each SAML authentication request.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20force_authn">Link to this property</a>

<details>

<summary>

header\_attributes: Optional\[List\[AccessSAMLConfigHeaderAttribute]]

Add a list of attribute names that will be returned in the response header from the Access callback.

</summary>

attribute\_name: Optional\[str]

attribute name from the IDP

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20header_attributes%20%3E%20(items)%20%3E%20(property)%20attribute_name">Link to this property</a>

header\_name: Optional\[str]

header that will be added on the request to the origin

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20header_attributes%20%3E%20(items)%20%3E%20(property)%20header_name">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20header_attributes">Link to this property</a>

idp\_public\_certs: Optional\[List\[str]]

X509 certificate to verify the signature in the SAML authentication response

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20idp_public_certs">Link to this property</a>

issuer\_url: Optional\[str]

IdP Entity ID or Issuer URL

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20issuer_url">Link to this property</a>

max\_sso\_url\_length: Optional\[int]

The maximum URL length the IdP accepts for the SSO redirect URL. When the constructed SSO URL would exceed this length, the RelayState is stored server-side and a short nonce is passed to the IdP instead. Set this if your IdP enforces a URL length limit.

maximum100000

minimum512

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20max_sso_url_length">Link to this property</a>

sign\_request: Optional\[bool]

Sign the SAML authentication request with Access credentials. To verify the signature, use the public key from the Access certs endpoints.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20sign_request">Link to this property</a>

sso\_target\_url: Optional\[str]

URL to send the SAML authentication requests to

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config%20%3E%20(property)%20sso_target_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessSAMLSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessSAMLSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2011">Link to this property</a>

<details>

<summary>

class AccessYandex: …

</summary>

config: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20generic_oauth_config%20%3E%20(schema)">GenericOAuthConfig</a>

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessYandexSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessYandexSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2012">Link to this property</a>

<details>

<summary>

class AccessOnetimepin: …

</summary>

<details>

<summary>

config: AccessOnetimepinConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

redirect\_url: Optional\[str]

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20config%20%3E%20(property)%20redirect_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessOnetimepinSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessOnetimepinSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2013">Link to this property</a>

<details>

<summary>

class AccessCloudflare: …

</summary>

<details>

<summary>

config: AccessCloudflareConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

redirect\_url: Optional\[str]

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20config%20%3E%20(property)%20redirect_url">Link to this property</a>

restrict\_to\_account\_members: Optional\[bool]

When enabled, only users who are members of your Cloudflare account can authenticate through this identity provider. When disabled, any user with a Cloudflare account can authenticate, subject to your Access policies.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20config%20%3E%20(property)%20restrict_to_account_members">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessCloudflareSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessCloudflareSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2014">Link to this property</a>

<details>

<summary>

class AccessPasskeys: …

</summary>

<details>

<summary>

config: AccessPasskeysConfig

The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

</summary>

login\_page\_auto\_prompt: Optional\[bool]

When enabled, the Access login page automatically prompts the user to authenticate with a passkey.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20config%20%3E%20(property)%20login_page_auto_prompt">Link to this property</a>

redirect\_url: Optional\[str]

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20config%20%3E%20(property)%20redirect_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20config">Link to this property</a>

name: str

The name of the identity provider, shown to users on the login page.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20name">Link to this property</a>

type: <a href="https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_type%20%3E%20(schema)">IdentityProviderType</a>

The type of identity provider. To determine the value for a specific provider, refer to our <a href="https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/">developer documentation</a>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20type">Link to this property</a>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20id">Link to this property</a>

read\_only: Optional\[bool]

Indicates that the identity provider is immutable and cannot be updated or deleted via the API.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20read_only">Link to this property</a>

<details>

<summary>

saml\_certificate\_set: Optional\[AccessPasskeysSAMLCertificateSet]

The SAML encryption certificate set details, including current and previous certificates. Only present for SAML identity providers with a certificate set assigned.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[AccessPasskeysSAMLCertificateSetCurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set">Link to this property</a>

saml\_certificate\_set\_id: Optional\[str]

The UID of the SAML encryption certificate set assigned to this Identity Provider. Only present for SAML identity providers with encryption configured. Create a certificate set via POST to <code>/identity_providers/{id}/saml_certificate</code>.

formatuuid

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20saml_certificate_set_id">Link to this property</a>

scim\_config: Optional\[IdentityProviderSCIMConfig]

The configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015%20%3E%20(property)%20scim_config">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)%20%3E%20(variant)%2015">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_list_response%20%3E%20(schema)>)

<details>

<summary>

class IdentityProviderDeleteResponse: …

</summary>

id: Optional\[str]

UUID.

maxLength36

<a href="#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.identity_providers%20%3E%20(model)%20identity_provider_delete_response%20%3E%20(schema)>)

#### Zero TrustIdentity ProvidersSCIM

#### Zero TrustIdentity ProvidersSCIMGroups

##### [List SCIM Group resources](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/identity_providers/subresources/scim/subresources/groups/methods/list)

zero\_trust.identity\_providers.scim.groups.list(stridentity\_provider\_id, GroupListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[ZeroTrustGroup](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.access.groups%20%3E%20(model)%20zero_trust_group%20%3E%20(schema)>)]

GET/accounts/{account\_id}/access/identity\_providers/{identity\_provider\_id}/scim/groups

#### Zero TrustIdentity ProvidersSCIMUsers

##### [List SCIM User resources](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/identity_providers/subresources/scim/subresources/users/methods/list)

zero\_trust.identity\_providers.scim.users.list(stridentity\_provider\_id, UserListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[AccessUser](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.access.users%20%3E%20(model)%20access_user%20%3E%20(schema)>)]

GET/accounts/{account\_id}/access/identity\_providers/{identity\_provider\_id}/scim/users

#### Zero TrustIdentity ProvidersSAML Certificate

##### [Create SAML encryption certificate for Identity Provider](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/identity_providers/subresources/saml_certificate/methods/create)

zero\_trust.identity\_providers.saml\_certificate.create(stridentity\_provider\_id, SAMLCertificateCreateParams\*\*kwargs) -> [SAMLCertificateCreateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/access/identity\_providers/{identity\_provider\_id}/saml\_certificate

##### ModelsExpand Collapse

<details>

<summary>

class SAMLCertificateCreateResponse: …

A SAML encryption certificate set containing current and optionally previous certificates for encryption key rotation.

</summary>

created\_at: datetime

Timestamp when the certificate set was created

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

uid: str

Unique identifier for the certificate set

formatuuid

<a href="#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

updated\_at: datetime

Timestamp when the certificate set was last updated (e.g., during rotation)

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

current\_certificate: Optional\[CurrentCertificate]

The currently active certificate used for encrypting SAML assertions

</summary>

is\_current: bool

Indicates whether this is the currently active certificate

<a href="#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20current_certificate%20%3E%20(property)%20is_current">Link to this property</a>

not\_after: datetime

Certificate expiration date. Certificates are automatically rotated 30 days before expiration.

formatdate-time

<a href="#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20current_certificate%20%3E%20(property)%20not_after">Link to this property</a>

public\_certificate: str

PEM-encoded X.509 certificate containing the public key. Configure this certificate in your external SAML Identity Provider to enable encryption.

<a href="#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20current_certificate%20%3E%20(property)%20public_certificate">Link to this property</a>

uid: str

Unique identifier for the certificate

formatuuid

<a href="#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20current_certificate%20%3E%20(property)%20uid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20current_certificate">Link to this property</a>

previous\_certificate: Optional\[object]

The previous certificate, maintained during rotation to ensure continuity. Null if no rotation has occurred. Mirrors the structure of <code>saml_certificate</code>.

<a href="#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20previous_certificate">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.identity_providers.saml_certificate%20%3E%20(model)%20saml_certificate_create_response%20%3E%20(schema)>)

#### Zero TrustOrganizations

##### [Get your Zero Trust organization](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/organizations/methods/list)

zero\_trust.organizations.list(OrganizationListParams\*\*kwargs) -> [OrganizationListResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)>)

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/access/organizations

##### [Create your Zero Trust organization](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/organizations/methods/create)

zero\_trust.organizations.create(OrganizationCreateParams\*\*kwargs) -> [Organization](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)>)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/access/organizations

##### [Update your Zero Trust organization](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/organizations/methods/update)

zero\_trust.organizations.update(OrganizationUpdateParams\*\*kwargs) -> [Organization](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)>)

PUT/{accounts\_or\_zones}/{account\_or\_zone\_id}/access/organizations

##### [Revoke all Access tokens for a user](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/organizations/methods/revoke_users)

zero\_trust.organizations.revoke\_users(OrganizationRevokeUsersParams\*\*kwargs) -> [OrganizationRevokeUsersResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_revoke_users_response%20%3E%20(schema)>)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/access/organizations/revoke\_user

##### ModelsExpand Collapse

<details>

<summary>

class LoginDesign: …

</summary>

background\_color: Optional\[str]

The background color on your login page.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20login_design%20%3E%20(schema)%20%3E%20(property)%20background_color">Link to this property</a>

footer\_text: Optional\[str]

The text at the bottom of your login page.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20login_design%20%3E%20(schema)%20%3E%20(property)%20footer_text">Link to this property</a>

header\_text: Optional\[str]

The text at the top of your login page.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20login_design%20%3E%20(schema)%20%3E%20(property)%20header_text">Link to this property</a>

logo\_path: Optional\[str]

The URL of the logo on your login page.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20login_design%20%3E%20(schema)%20%3E%20(property)%20logo_path">Link to this property</a>

text\_color: Optional\[str]

The text color on your login page.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20login_design%20%3E%20(schema)%20%3E%20(property)%20text_color">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.organizations%20%3E%20(model)%20login_design%20%3E%20(schema)>)

<details>

<summary>

class Organization: …

</summary>

allow\_authenticate\_via\_warp: Optional\[bool]

When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20allow_authenticate_via_warp">Link to this property</a>

auth\_domain: Optional\[str]

The unique subdomain assigned to your Zero Trust organization. If omitted on creation, a unique subdomain is auto-generated in the format <code>adjective-noun-hex4</code> (e.g. <code>frosty-moon-7a3b.cloudflareaccess.com</code>).

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20auth_domain">Link to this property</a>

auto\_redirect\_to\_identity: Optional\[bool]

When set to <code>true</code>, users skip the identity provider selection step during login.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20auto_redirect_to_identity">Link to this property</a>

<details>

<summary>

custom\_pages: Optional\[CustomPages]

</summary>

forbidden: Optional\[str]

The uid of the custom page to use when a user is denied access after failing a non-identity rule.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20custom_pages%20%3E%20(property)%20forbidden">Link to this property</a>

identity\_denied: Optional\[str]

The uid of the custom page to use when a user is denied access.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20custom_pages%20%3E%20(property)%20identity_denied">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20custom_pages">Link to this property</a>

deny\_unmatched\_requests: Optional\[bool]

Determines whether to deny all requests to Cloudflare-protected resources that lack an associated Access application. If enabled, you must explicitly configure an Access application and policy to allow traffic to your Cloudflare-protected resources. For domains you want to be public across all subdomains, add the domain to the <code>deny_unmatched_requests_exempted_zone_names</code> array.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20deny_unmatched_requests">Link to this property</a>

deny\_unmatched\_requests\_exempted\_zone\_names: Optional\[List\[str]]

Contains zone names to exempt from the <code>deny_unmatched_requests</code> feature. Requests to a subdomain in an exempted zone will block unauthenticated traffic by default if there is a configured Access application and policy that matches the request.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20deny_unmatched_requests_exempted_zone_names">Link to this property</a>

is\_ui\_read\_only: Optional\[bool]

Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20is_ui_read_only">Link to this property</a>

login\_design: Optional\[LoginDesign]

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20login_design">Link to this property</a>

<details>

<summary>

mfa\_config: Optional\[MfaConfig]

Configures multi-factor authentication (MFA) settings for an organization.

</summary>

<details>

<summary>

allowed\_authenticators: Optional\[List\[Literal\["totp", "biometrics", "security\_key", 2 more]]]

Lists the MFA methods that users can authenticate with. The <code>piv_key</code> and <code>ssh_fido2_key</code> values are supported only for infrastructure applications.

</summary>

One of the following:

"totp"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"biometrics"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"security\_key"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"piv\_key"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"ssh\_fido2\_key"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators">Link to this property</a>

amr\_matching\_session\_duration: Optional\[str]

Allows a user to skip MFA via Authentication Method Reference (AMR) matching when the AMR claim provided by the IdP the user used to authenticate contains “mfa”. Must be in minutes (m) or hours (h). Minimum: 0m. Maximum: 720h (30 days).

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20amr_matching_session_duration">Link to this property</a>

required\_aaguids: Optional\[str]

Specifies a Cloudflare List of required FIDO2 authenticator device AAGUIDs.

formatuuid

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20required_aaguids">Link to this property</a>

session\_duration: Optional\[str]

Defines the duration of an MFA session. Must be in minutes (m) or hours (h). Minimum: 0m. Maximum: 720h (30 days). Examples:<code>5m</code> or <code>24h</code>.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20session_duration">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_config">Link to this property</a>

<details>

<summary>

mfa\_piv\_key\_requirements: Optional\[MfaPivKeyRequirements]

Configures PIV key requirements for MFA using hardware security keys.

</summary>

<details>

<summary>

pin\_policy: Optional\[Literal\["never", "once", "always"]]

Defines when a PIN is required to use the SSH key. Valid values: <code>never</code> (no PIN required), <code>once</code> (PIN required once per session), <code>always</code> (PIN required for each use).

</summary>

One of the following:

"never"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20pin_policy%20%3E%20(member)%200">Link to this property</a>

"once"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20pin_policy%20%3E%20(member)%201">Link to this property</a>

"always"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20pin_policy%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20pin_policy">Link to this property</a>

require\_fips\_device: Optional\[bool]

Requires the PIV key to be stored on a FIPS 140-2 Level 1 or higher validated device.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20require_fips_device">Link to this property</a>

<details>

<summary>

ssh\_key\_size: Optional\[List\[Literal\[256, 384, 521, 3 more]]]

Specifies the allowed SSH key sizes in bits. Valid sizes depend on key type. Ed25519 has a fixed key size and does not accept this parameter.

</summary>

One of the following:

256

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

384

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

521

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

2048

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

3072

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

4096

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size">Link to this property</a>

<details>

<summary>

ssh\_key\_type: Optional\[List\[Literal\["ecdsa", "ed25519", "rsa"]]]

Specifies the allowed SSH key types. Valid values are <code>ecdsa</code>, <code>ed25519</code>, and <code>rsa</code>.

</summary>

One of the following:

"ecdsa"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_type%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"ed25519"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_type%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"rsa"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_type%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_type">Link to this property</a>

<details>

<summary>

touch\_policy: Optional\[Literal\["never", "always", "cached"]]

Defines when physical touch is required to use the SSH key. Valid values: <code>never</code> (no touch required), <code>always</code> (touch required for each use), <code>cached</code> (touch cached for 15 seconds).

</summary>

One of the following:

"never"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20touch_policy%20%3E%20(member)%200">Link to this property</a>

"always"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20touch_policy%20%3E%20(member)%201">Link to this property</a>

"cached"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20touch_policy%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20touch_policy">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements">Link to this property</a>

mfa\_required\_for\_all\_apps: Optional\[bool]

Determines whether global MFA settings apply to applications by default. The organization must have MFA enabled with at least one authentication method and a session duration configured. Note: ‘allowed\_authenticators’ cannot contain only the infrastructure SSH authenticators (‘piv\_key’ and ‘ssh\_fido2\_key’) if the organization has any non-infrastructure applications.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20mfa_required_for_all_apps">Link to this property</a>

name: Optional\[str]

The name of your Zero Trust organization. When omitted on creation, defaults to the provided auth\_domain; when both are omitted, defaults to the auto-generated subdomain slug (e.g. frosty-moon-7a3b).

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

service\_token\_inactivity: Optional\[ServiceTokenInactivity]

Configures automatic enforcement for inactive service tokens. A service token is inactive if no policy references it, and it has not successfully authenticated with an Access application during the selected inactivity period. This setting applies to every service token in your Zero Trust account.

</summary>

<details>

<summary>

action: Literal\["disable", "delete"]

The action applied to an inactive service token.

</summary>

One of the following:

"disable"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20action%20%3E%20(member)%200">Link to this property</a>

"delete"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20action">Link to this property</a>

enabled: bool

Whether automatic enforcement for inactive service tokens is enabled.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20enabled">Link to this property</a>

inactivity\_threshold\_days: int

The number of days a service token must be inactive before the configured action is applied.

maximum365

minimum30

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20inactivity_threshold_days">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity">Link to this property</a>

session\_duration: Optional\[str]

The amount of time that tokens issued for applications will be valid. Must be in the format <code>300ms</code> or <code>2h45m</code>. Valid time units are: ns, us (or µs), ms, s, m, h.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20session_duration">Link to this property</a>

strict\_service\_token\_auth: Optional\[bool]

Enables new behaviors for requests made with Access service tokens. Unauthorized requests emit audit logs, and return a 401 or 403 status code in the response instead of redirecting to the login page. Successful requests no longer receive a CF\_Authorization cookie in the response. Zero Trust organizations created on or after October 5, 2026 will have this setting enabled by default, and cannot disable it.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20strict_service_token_auth">Link to this property</a>

ui\_read\_only\_toggle\_reason: Optional\[str]

A description of the reason why the UI read only field is being toggled.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20ui_read_only_toggle_reason">Link to this property</a>

user\_seat\_expiration\_inactive\_time: Optional\[str]

The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Minimum value for this setting is 1 month (730h). Must be in the format <code>300ms</code> or <code>2h45m</code>. Valid time units are: <code>ns</code>, <code>us</code> (or <code>µs</code>), <code>ms</code>, <code>s</code>, <code>m</code>, <code>h</code>.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20user_seat_expiration_inactive_time">Link to this property</a>

warp\_auth\_non\_browser\_401: Optional\[bool]

When enabled, unsuccessful WARP authentication requests with a non-HTML Accept header return a 401 response instead of redirecting to the login page.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20warp_auth_non_browser_401">Link to this property</a>

warp\_auth\_session\_duration: Optional\[str]

The amount of time that tokens issued for applications will be valid. Must be in the format <code>30m</code> or <code>2h45m</code>. Valid time units are: m, h.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)%20%3E%20(property)%20warp_auth_session_duration">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization%20%3E%20(schema)>)

<details>

<summary>

class OrganizationListResponse: …

</summary>

allow\_authenticate\_via\_warp: Optional\[bool]

When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20allow_authenticate_via_warp">Link to this property</a>

auth\_domain: Optional\[str]

The unique subdomain assigned to your Zero Trust organization. If omitted on creation, a unique subdomain is auto-generated in the format <code>adjective-noun-hex4</code> (e.g. <code>frosty-moon-7a3b.cloudflareaccess.com</code>).

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20auth_domain">Link to this property</a>

auto\_redirect\_to\_identity: Optional\[bool]

When set to <code>true</code>, users skip the identity provider selection step during login.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20auto_redirect_to_identity">Link to this property</a>

<details>

<summary>

custom\_pages: Optional\[CustomPages]

</summary>

forbidden: Optional\[str]

The uid of the custom page to use when a user is denied access after failing a non-identity rule.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20custom_pages%20%3E%20(property)%20forbidden">Link to this property</a>

identity\_denied: Optional\[str]

The uid of the custom page to use when a user is denied access.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20custom_pages%20%3E%20(property)%20identity_denied">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20custom_pages">Link to this property</a>

deny\_unmatched\_requests: Optional\[bool]

Determines whether to deny all requests to Cloudflare-protected resources that lack an associated Access application. If enabled, you must explicitly configure an Access application and policy to allow traffic to your Cloudflare-protected resources. For domains you want to be public across all subdomains, add the domain to the <code>deny_unmatched_requests_exempted_zone_names</code> array.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20deny_unmatched_requests">Link to this property</a>

deny\_unmatched\_requests\_exempted\_zone\_names: Optional\[List\[str]]

Contains zone names to exempt from the <code>deny_unmatched_requests</code> feature. Requests to a subdomain in an exempted zone will block unauthenticated traffic by default if there is a configured Access application and policy that matches the request.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20deny_unmatched_requests_exempted_zone_names">Link to this property</a>

is\_ui\_read\_only: Optional\[bool]

Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20is_ui_read_only">Link to this property</a>

login\_design: Optional\[LoginDesign]

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20login_design">Link to this property</a>

<details>

<summary>

mfa\_config: Optional\[MfaConfig]

Configures multi-factor authentication (MFA) settings for an organization.

</summary>

<details>

<summary>

allowed\_authenticators: Optional\[List\[Literal\["totp", "biometrics", "security\_key", 2 more]]]

Lists the MFA methods that users can authenticate with. The <code>piv_key</code> and <code>ssh_fido2_key</code> values are supported only for infrastructure applications.

</summary>

One of the following:

"totp"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"biometrics"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"security\_key"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"piv\_key"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"ssh\_fido2\_key"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20allowed_authenticators">Link to this property</a>

amr\_matching\_session\_duration: Optional\[str]

Allows a user to skip MFA via Authentication Method Reference (AMR) matching when the AMR claim provided by the IdP the user used to authenticate contains “mfa”. Must be in minutes (m) or hours (h). Minimum: 0m. Maximum: 720h (30 days).

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20amr_matching_session_duration">Link to this property</a>

required\_aaguids: Optional\[str]

Specifies a Cloudflare List of required FIDO2 authenticator device AAGUIDs.

formatuuid

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20required_aaguids">Link to this property</a>

session\_duration: Optional\[str]

Defines the duration of an MFA session. Must be in minutes (m) or hours (h). Minimum: 0m. Maximum: 720h (30 days). Examples:<code>5m</code> or <code>24h</code>.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config%20%3E%20(property)%20session_duration">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_config">Link to this property</a>

<details>

<summary>

mfa\_piv\_key\_requirements: Optional\[MfaPivKeyRequirements]

Configures PIV key requirements for MFA using hardware security keys.

</summary>

<details>

<summary>

pin\_policy: Optional\[Literal\["never", "once", "always"]]

Defines when a PIN is required to use the SSH key. Valid values: <code>never</code> (no PIN required), <code>once</code> (PIN required once per session), <code>always</code> (PIN required for each use).

</summary>

One of the following:

"never"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20pin_policy%20%3E%20(member)%200">Link to this property</a>

"once"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20pin_policy%20%3E%20(member)%201">Link to this property</a>

"always"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20pin_policy%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20pin_policy">Link to this property</a>

require\_fips\_device: Optional\[bool]

Requires the PIV key to be stored on a FIPS 140-2 Level 1 or higher validated device.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20require_fips_device">Link to this property</a>

<details>

<summary>

ssh\_key\_size: Optional\[List\[Literal\[256, 384, 521, 3 more]]]

Specifies the allowed SSH key sizes in bits. Valid sizes depend on key type. Ed25519 has a fixed key size and does not accept this parameter.

</summary>

One of the following:

256

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

384

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

521

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

2048

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

3072

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

4096

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_size">Link to this property</a>

<details>

<summary>

ssh\_key\_type: Optional\[List\[Literal\["ecdsa", "ed25519", "rsa"]]]

Specifies the allowed SSH key types. Valid values are <code>ecdsa</code>, <code>ed25519</code>, and <code>rsa</code>.

</summary>

One of the following:

"ecdsa"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_type%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"ed25519"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_type%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"rsa"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_type%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20ssh_key_type">Link to this property</a>

<details>

<summary>

touch\_policy: Optional\[Literal\["never", "always", "cached"]]

Defines when physical touch is required to use the SSH key. Valid values: <code>never</code> (no touch required), <code>always</code> (touch required for each use), <code>cached</code> (touch cached for 15 seconds).

</summary>

One of the following:

"never"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20touch_policy%20%3E%20(member)%200">Link to this property</a>

"always"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20touch_policy%20%3E%20(member)%201">Link to this property</a>

"cached"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20touch_policy%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements%20%3E%20(property)%20touch_policy">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_piv_key_requirements">Link to this property</a>

mfa\_required\_for\_all\_apps: Optional\[bool]

Determines whether global MFA settings apply to applications by default. The organization must have MFA enabled with at least one authentication method and a session duration configured. Note: ‘allowed\_authenticators’ cannot contain only the infrastructure SSH authenticators (‘piv\_key’ and ‘ssh\_fido2\_key’) if the organization has any non-infrastructure applications.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20mfa_required_for_all_apps">Link to this property</a>

name: Optional\[str]

The name of your Zero Trust organization. When omitted on creation, defaults to the provided auth\_domain; when both are omitted, defaults to the auto-generated subdomain slug (e.g. frosty-moon-7a3b).

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

service\_token\_inactivity: Optional\[ServiceTokenInactivity]

Configures automatic enforcement for inactive service tokens. A service token is inactive if no policy references it, and it has not successfully authenticated with an Access application during the selected inactivity period. This setting applies to every service token in your Zero Trust account.

</summary>

<details>

<summary>

action: Literal\["disable", "delete"]

The action applied to an inactive service token.

</summary>

One of the following:

"disable"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20action%20%3E%20(member)%200">Link to this property</a>

"delete"

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20action">Link to this property</a>

enabled: bool

Whether automatic enforcement for inactive service tokens is enabled.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20enabled">Link to this property</a>

inactivity\_threshold\_days: int

The number of days a service token must be inactive before the configured action is applied.

maximum365

minimum30

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity%20%3E%20(property)%20inactivity_threshold_days">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20service_token_inactivity">Link to this property</a>

session\_duration: Optional\[str]

The amount of time that tokens issued for applications will be valid. Must be in the format <code>300ms</code> or <code>2h45m</code>. Valid time units are: ns, us (or µs), ms, s, m, h.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20session_duration">Link to this property</a>

strict\_service\_token\_auth: Optional\[bool]

Enables new behaviors for requests made with Access service tokens. Unauthorized requests emit audit logs, and return a 401 or 403 status code in the response instead of redirecting to the login page. Successful requests no longer receive a CF\_Authorization cookie in the response. Zero Trust organizations created on or after October 5, 2026 will have this setting enabled by default, and cannot disable it.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20strict_service_token_auth">Link to this property</a>

trusted\_accounts: Optional\[List\[str]]

The account tags of organizations trusted by this organization for policy and device posture sharing.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20trusted_accounts">Link to this property</a>

ui\_read\_only\_toggle\_reason: Optional\[str]

A description of the reason why the UI read only field is being toggled.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20ui_read_only_toggle_reason">Link to this property</a>

user\_seat\_expiration\_inactive\_time: Optional\[str]

The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Minimum value for this setting is 1 month (730h). Must be in the format <code>300ms</code> or <code>2h45m</code>. Valid time units are: <code>ns</code>, <code>us</code> (or <code>µs</code>), <code>ms</code>, <code>s</code>, <code>m</code>, <code>h</code>.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20user_seat_expiration_inactive_time">Link to this property</a>

warp\_auth\_non\_browser\_401: Optional\[bool]

When enabled, unsuccessful WARP authentication requests with a non-HTML Accept header return a 401 response instead of redirecting to the login page.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20warp_auth_non_browser_401">Link to this property</a>

warp\_auth\_session\_duration: Optional\[str]

The amount of time that tokens issued for applications will be valid. Must be in the format <code>30m</code> or <code>2h45m</code>. Valid time units are: m, h.

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)%20%3E%20(property)%20warp_auth_session_duration">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_list_response%20%3E%20(schema)>)

<details>

<summary>

Literal\[true, false]

</summary>

One of the following:

true

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_revoke_users_response%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

false

<a href="#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_revoke_users_response%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.organizations%20%3E%20(model)%20organization_revoke_users_response%20%3E%20(schema)>)

#### Zero TrustOrganizationsDOH

##### [Get your Zero Trust organization DoH settings](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/organizations/subresources/doh/methods/get)

zero\_trust.organizations.doh.get(DOHGetParams\*\*kwargs) -> [DOHGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/access/organizations/doh

##### [Update your Zero Trust organization DoH settings](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/organizations/subresources/doh/methods/update)

zero\_trust.organizations.doh.update(DOHUpdateParams\*\*kwargs) -> [DOHUpdateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_update_response%20%3E%20(schema)>)

PUT/accounts/{account\_id}/access/organizations/doh

##### ModelsExpand Collapse

<details>

<summary>

class DOHGetResponse: …

</summary>

id: Optional\[str]

The ID of the service token.

maxLength36

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

client\_id: Optional\[str]

The Client ID for the service token. Access will check for this value in the <code>CF-Access-Client-ID</code> request header.

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_get_response%20%3E%20(schema)%20%3E%20(property)%20client_id">Link to this property</a>

doh\_jwt\_duration: Optional\[str]

The duration the DoH JWT is valid for. Must be in the format <code>300ms</code> or <code>2h45m</code>. Valid time units are: ns, us (or µs), ms, s, m, h. Note that the maximum duration for this setting is the same as the key rotation period on the account.

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_get_response%20%3E%20(schema)%20%3E%20(property)%20doh_jwt_duration">Link to this property</a>

duration: Optional\[str]

The duration for how long the service token will be valid. Must be in the format <code>300ms</code> or <code>2h45m</code>, or the special value <code>forever</code> for non-expiring tokens. Valid time units are: ns, us (or µs), ms, s, m, h. The default is 1 year in hours (8760h).

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_get_response%20%3E%20(schema)%20%3E%20(property)%20duration">Link to this property</a>

enabled: Optional\[bool]

Whether the service token is enabled. A disabled service token cannot be used to authenticate; both its current and previous <code>client_secret</code> stop being accepted, but the token itself is preserved and can be re-enabled at any time. Defaults to enabled when omitted on create.

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_get_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

expires\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_get_response%20%3E%20(schema)%20%3E%20(property)%20expires_at">Link to this property</a>

name: Optional\[str]

The name of the service token.

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_get_response%20%3E%20(schema)>)

<details>

<summary>

class DOHUpdateResponse: …

</summary>

id: Optional\[str]

The ID of the service token.

maxLength36

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

client\_id: Optional\[str]

The Client ID for the service token. Access will check for this value in the <code>CF-Access-Client-ID</code> request header.

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_update_response%20%3E%20(schema)%20%3E%20(property)%20client_id">Link to this property</a>

doh\_jwt\_duration: Optional\[str]

The duration the DoH JWT is valid for. Must be in the format <code>300ms</code> or <code>2h45m</code>. Valid time units are: ns, us (or µs), ms, s, m, h. Note that the maximum duration for this setting is the same as the key rotation period on the account. Default expiration is 24h

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_update_response%20%3E%20(schema)%20%3E%20(property)%20doh_jwt_duration">Link to this property</a>

duration: Optional\[str]

The duration for how long the service token will be valid. Must be in the format <code>300ms</code> or <code>2h45m</code>, or the special value <code>forever</code> for non-expiring tokens. Valid time units are: ns, us (or µs), ms, s, m, h. The default is 1 year in hours (8760h).

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_update_response%20%3E%20(schema)%20%3E%20(property)%20duration">Link to this property</a>

enabled: Optional\[bool]

Whether the service token is enabled. A disabled service token cannot be used to authenticate; both its current and previous <code>client_secret</code> stop being accepted, but the token itself is preserved and can be re-enabled at any time. Defaults to enabled when omitted on create.

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_update_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

expires\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_update_response%20%3E%20(schema)%20%3E%20(property)%20expires_at">Link to this property</a>

name: Optional\[str]

The name of the service token.

<a href="#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_update_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.organizations.doh%20%3E%20(model)%20doh_update_response%20%3E%20(schema)>)

#### Zero TrustSeats

##### [Update a user seat](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/seats/methods/edit)

zero\_trust.seats.edit(SeatEditParams\*\*kwargs) -> SyncSinglePage\[[Seat](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.seats%20%3E%20(model)%20seat%20%3E%20(schema)>)]

PATCH/accounts/{account\_id}/access/seats

##### ModelsExpand Collapse

<details>

<summary>

class Seat: …

</summary>

access\_seat: Optional\[bool]

True if the seat is part of Access.

<a href="#(resource)%20zero_trust.seats%20%3E%20(model)%20seat%20%3E%20(schema)%20%3E%20(property)%20access_seat">Link to this property</a>

created\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.seats%20%3E%20(model)%20seat%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

gateway\_seat: Optional\[bool]

True if the seat is part of Gateway.

<a href="#(resource)%20zero_trust.seats%20%3E%20(model)%20seat%20%3E%20(schema)%20%3E%20(property)%20gateway_seat">Link to this property</a>

seat\_uid: Optional\[str]

The unique API identifier for the Zero Trust seat.

maxLength36

<a href="#(resource)%20zero_trust.seats%20%3E%20(model)%20seat%20%3E%20(schema)%20%3E%20(property)%20seat_uid">Link to this property</a>

updated\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.seats%20%3E%20(model)%20seat%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.seats%20%3E%20(model)%20seat%20%3E%20(schema)>)

#### Zero TrustAccess

#### Zero TrustAccessAI Controls

#### Zero TrustAccessAI ControlsMcp

#### Zero TrustAccessAI ControlsMcpPortals

##### [List MCP Portals](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/access/subresources/ai_controls/subresources/mcp/subresources/portals/methods/list)

zero\_trust.access.ai\_controls.mcp.portals.list(PortalListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[PortalListResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)>)]

GET/accounts/{account\_id}/access/ai-controls/mcp/portals

##### [Create a new MCP Portal](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/access/subresources/ai_controls/subresources/mcp/subresources/portals/methods/create)

zero\_trust.access.ai\_controls.mcp.portals.create(PortalCreateParams\*\*kwargs) -> [PortalCreateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/access/ai-controls/mcp/portals

##### [Read details of an MCP Portal](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/access/subresources/ai_controls/subresources/mcp/subresources/portals/methods/read)

zero\_trust.access.ai\_controls.mcp.portals.read(strid, PortalReadParams\*\*kwargs) -> [PortalReadResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/access/ai-controls/mcp/portals/{id}

##### [Update an MCP Portal](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/access/subresources/ai_controls/subresources/mcp/subresources/portals/methods/update)

zero\_trust.access.ai\_controls.mcp.portals.update(strid, PortalUpdateParams\*\*kwargs) -> [PortalUpdateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)>)

PUT/accounts/{account\_id}/access/ai-controls/mcp/portals/{id}

##### [Delete an MCP Portal](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/access/subresources/ai_controls/subresources/mcp/subresources/portals/methods/delete)

zero\_trust.access.ai\_controls.mcp.portals.delete(strid, PortalDeleteParams\*\*kwargs) -> [PortalDeleteResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/access/ai-controls/mcp/portals/{id}

##### ModelsExpand Collapse

<details>

<summary>

class PortalListResponse: …

</summary>

id: str

Unique identifier for the MCP portal.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

hostname: str

Hostname where the MCP portal is available.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20hostname">Link to this property</a>

name: str

Display name for the MCP portal.

maxLength350

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

servers: List\[Server]

</summary>

id: str

Unique identifier for the MCP server.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

auth\_type: Literal\["oauth", "bearer", "unauthenticated"]

Authentication method used to connect to the upstream MCP server.

</summary>

One of the following:

"oauth"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%200">Link to this property</a>

"bearer"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%201">Link to this property</a>

"unauthenticated"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type">Link to this property</a>

hostname: str

URL of the upstream MCP endpoint.

formaturi

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20hostname">Link to this property</a>

name: str

Display name for the MCP server.

maxLength350

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

prompts: List\[Dict\[str, object]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20prompts">Link to this property</a>

server\_id: str

Unique identifier for the MCP server.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20server_id">Link to this property</a>

tools: List\[Dict\[str, object]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20tools">Link to this property</a>

<details>

<summary>

auth\_config\_summary: Optional\[ServerAuthConfigSummary]

Safe subset of auth\_credentials surfaced to the dashboard. Includes auth\_mode (dcr|manual), has\_client\_secret, client\_secret\_version, and the OAuth endpoints + client\_id for manual servers. Never includes the secret value.

</summary>

<details>

<summary>

auth\_mode: Optional\[Literal\["dcr", "manual"]]

</summary>

One of the following:

"dcr"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode%20%3E%20(member)%200">Link to this property</a>

"manual"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode">Link to this property</a>

client\_secret\_version: Optional\[float]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20client_secret_version">Link to this property</a>

<details>

<summary>

config: Optional\[ServerAuthConfigSummaryConfig]

</summary>

authorization\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20authorization_endpoint">Link to this property</a>

issuer: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20issuer">Link to this property</a>

resource: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20resource">Link to this property</a>

revocation\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20revocation_endpoint">Link to this property</a>

token\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20token_endpoint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config">Link to this property</a>

has\_client\_secret: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20has_client_secret">Link to this property</a>

<details>

<summary>

registration\_info: Optional\[ServerAuthConfigSummaryRegistrationInfo]

</summary>

client\_id: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20client_id">Link to this property</a>

redirect\_uris: Optional\[List\[str]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20redirect_uris">Link to this property</a>

scope: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20scope">Link to this property</a>

token\_endpoint\_auth\_method: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20token_endpoint_auth_method">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary">Link to this property</a>

<details>

<summary>

authentication\_status: Optional\[Literal\["not\_required", "required", "connected", 2 more]]

Whether administrative authentication is required before capabilities can be synced. Manual OAuth is user-managed and has no administrative authentication flow.

</summary>

One of the following:

"not\_required"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%200">Link to this property</a>

"required"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%201">Link to this property</a>

"connected"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%202">Link to this property</a>

"stale"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%203">Link to this property</a>

"manual"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status">Link to this property</a>

created\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20created_at">Link to this property</a>

created\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20created_by">Link to this property</a>

default\_disabled: Optional\[bool]

Hide this server’s tools and prompts by default. To expose specific capabilities, set enabled: true for them in updated\_tools or updated\_prompts.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20default_disabled">Link to this property</a>

description: Optional\[str]

Optional description of the MCP server.

maxLength512

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

error: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error">Link to this property</a>

<details>

<summary>

error\_details: Optional\[ServerErrorDetails]

</summary>

cause: Optional\[str]

Underlying error message

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20cause">Link to this property</a>

is\_upstream: Optional\[bool]

True = MCP server returned an error. False = couldn’t reach the server

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20is_upstream">Link to this property</a>

mcp\_code: Optional\[float]

MCP protocol error code

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20mcp_code">Link to this property</a>

retryable: Optional\[bool]

Whether the error is transient and worth retrying

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20retryable">Link to this property</a>

status\_code: Optional\[float]

HTTP status code from the server

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20status_code">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details">Link to this property</a>

is\_shared\_oauth\_callback\_enabled: Optional\[bool]

When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirect\_uri for upstream on-behalf OAuth, instead of the customer portal hostname. Defaults to false (off); opt in per server by setting true.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20is_shared_oauth_callback_enabled">Link to this property</a>

last\_successful\_sync: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20last_successful_sync">Link to this property</a>

last\_synced: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20last_synced">Link to this property</a>

modified\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20modified_at">Link to this property</a>

modified\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20modified_by">Link to this property</a>

on\_behalf: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20on_behalf">Link to this property</a>

secure\_web\_gateway: Optional\[bool]

Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20secure_web_gateway">Link to this property</a>

<details>

<summary>

status: Optional\[Literal\["waiting", "ready", "stale", "error"]]

Current sync state of the server

</summary>

One of the following:

"waiting"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"ready"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"stale"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"error"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

updated\_prompts: Optional\[List\[ServerUpdatedPrompt]]

</summary>

name: str

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

enabled: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

portal\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20portal_alias">Link to this property</a>

portal\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20portal_description">Link to this property</a>

server\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20server_alias">Link to this property</a>

server\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20server_description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts">Link to this property</a>

<details>

<summary>

updated\_tools: Optional\[List\[ServerUpdatedTool]]

</summary>

name: str

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

enabled: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

portal\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20portal_alias">Link to this property</a>

portal\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20portal_description">Link to this property</a>

server\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20server_alias">Link to this property</a>

server\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20server_description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20servers">Link to this property</a>

Deprecatedallow\_code\_mode: Optional\[bool]

Deprecated: use <code>code_mode</code> for new integrations. <code>true</code> maps to any non-off Code Mode policy; <code>false</code> maps to <code>code_mode: off</code>. If both fields are sent, they must be consistent or the request returns a 400.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20allow_code_mode">Link to this property</a>

<details>

<summary>

code\_mode: Optional\[Literal\["off", "opt\_in", "default\_on", "enforced"]]

Code Mode policy for this portal. <code>off</code>: Code Mode is unavailable; query parameters are ignored. <code>opt_in</code>: Code Mode is off by default; clients turn it on with <code>?codemode=search_and_execute</code>. <code>default_on</code>: Code Mode is on by default; clients can opt out with <code>?codemode=off</code>. <code>enforced</code>: Code Mode is always on; query parameters are ignored. Defaults to <code>opt_in</code> when omitted on create. If both <code>code_mode</code> and <code>allow_code_mode</code> are sent, they must be consistent or the request returns a 400.

</summary>

One of the following:

"off"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%200">Link to this property</a>

"opt\_in"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%201">Link to this property</a>

"default\_on"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%202">Link to this property</a>

"enforced"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20code_mode">Link to this property</a>

created\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

created\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20created_by">Link to this property</a>

description: Optional\[str]

Optional description of the MCP portal.

maxLength512

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

modified\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

modified\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20modified_by">Link to this property</a>

secure\_web\_gateway: Optional\[bool]

Route outbound MCP traffic through Zero Trust Secure Web Gateway.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)%20%3E%20(property)%20secure_web_gateway">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_list_response%20%3E%20(schema)>)

<details>

<summary>

class PortalCreateResponse: …

</summary>

id: str

Unique identifier for the MCP portal.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

hostname: str

Hostname where the MCP portal is available.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20hostname">Link to this property</a>

name: str

Display name for the MCP portal.

maxLength350

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

servers: List\[Server]

</summary>

id: str

Unique identifier for the MCP server.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

auth\_type: Literal\["oauth", "bearer", "unauthenticated"]

Authentication method used to connect to the upstream MCP server.

</summary>

One of the following:

"oauth"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%200">Link to this property</a>

"bearer"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%201">Link to this property</a>

"unauthenticated"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type">Link to this property</a>

hostname: str

URL of the upstream MCP endpoint.

formaturi

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20hostname">Link to this property</a>

name: str

Display name for the MCP server.

maxLength350

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

prompts: List\[Dict\[str, object]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20prompts">Link to this property</a>

server\_id: str

Unique identifier for the MCP server.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20server_id">Link to this property</a>

tools: List\[Dict\[str, object]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20tools">Link to this property</a>

<details>

<summary>

auth\_config\_summary: Optional\[ServerAuthConfigSummary]

Safe subset of auth\_credentials surfaced to the dashboard. Includes auth\_mode (dcr|manual), has\_client\_secret, client\_secret\_version, and the OAuth endpoints + client\_id for manual servers. Never includes the secret value.

</summary>

<details>

<summary>

auth\_mode: Optional\[Literal\["dcr", "manual"]]

</summary>

One of the following:

"dcr"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode%20%3E%20(member)%200">Link to this property</a>

"manual"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode">Link to this property</a>

client\_secret\_version: Optional\[float]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20client_secret_version">Link to this property</a>

<details>

<summary>

config: Optional\[ServerAuthConfigSummaryConfig]

</summary>

authorization\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20authorization_endpoint">Link to this property</a>

issuer: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20issuer">Link to this property</a>

resource: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20resource">Link to this property</a>

revocation\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20revocation_endpoint">Link to this property</a>

token\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20token_endpoint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config">Link to this property</a>

has\_client\_secret: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20has_client_secret">Link to this property</a>

<details>

<summary>

registration\_info: Optional\[ServerAuthConfigSummaryRegistrationInfo]

</summary>

client\_id: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20client_id">Link to this property</a>

redirect\_uris: Optional\[List\[str]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20redirect_uris">Link to this property</a>

scope: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20scope">Link to this property</a>

token\_endpoint\_auth\_method: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20token_endpoint_auth_method">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary">Link to this property</a>

<details>

<summary>

authentication\_status: Optional\[Literal\["not\_required", "required", "connected", 2 more]]

Whether administrative authentication is required before capabilities can be synced. Manual OAuth is user-managed and has no administrative authentication flow.

</summary>

One of the following:

"not\_required"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%200">Link to this property</a>

"required"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%201">Link to this property</a>

"connected"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%202">Link to this property</a>

"stale"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%203">Link to this property</a>

"manual"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status">Link to this property</a>

created\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20created_at">Link to this property</a>

created\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20created_by">Link to this property</a>

default\_disabled: Optional\[bool]

Hide this server’s tools and prompts by default. To expose specific capabilities, set enabled: true for them in updated\_tools or updated\_prompts.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20default_disabled">Link to this property</a>

description: Optional\[str]

Optional description of the MCP server.

maxLength512

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

error: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error">Link to this property</a>

<details>

<summary>

error\_details: Optional\[ServerErrorDetails]

</summary>

cause: Optional\[str]

Underlying error message

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20cause">Link to this property</a>

is\_upstream: Optional\[bool]

True = MCP server returned an error. False = couldn’t reach the server

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20is_upstream">Link to this property</a>

mcp\_code: Optional\[float]

MCP protocol error code

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20mcp_code">Link to this property</a>

retryable: Optional\[bool]

Whether the error is transient and worth retrying

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20retryable">Link to this property</a>

status\_code: Optional\[float]

HTTP status code from the server

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20status_code">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details">Link to this property</a>

is\_shared\_oauth\_callback\_enabled: Optional\[bool]

When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirect\_uri for upstream on-behalf OAuth, instead of the customer portal hostname. Defaults to false (off); opt in per server by setting true.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20is_shared_oauth_callback_enabled">Link to this property</a>

last\_successful\_sync: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20last_successful_sync">Link to this property</a>

last\_synced: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20last_synced">Link to this property</a>

modified\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20modified_at">Link to this property</a>

modified\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20modified_by">Link to this property</a>

on\_behalf: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20on_behalf">Link to this property</a>

secure\_web\_gateway: Optional\[bool]

Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20secure_web_gateway">Link to this property</a>

<details>

<summary>

status: Optional\[Literal\["waiting", "ready", "stale", "error"]]

Current sync state of the server

</summary>

One of the following:

"waiting"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"ready"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"stale"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"error"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

updated\_prompts: Optional\[List\[ServerUpdatedPrompt]]

</summary>

name: str

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

enabled: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

portal\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20portal_alias">Link to this property</a>

portal\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20portal_description">Link to this property</a>

server\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20server_alias">Link to this property</a>

server\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20server_description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts">Link to this property</a>

<details>

<summary>

updated\_tools: Optional\[List\[ServerUpdatedTool]]

</summary>

name: str

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

enabled: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

portal\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20portal_alias">Link to this property</a>

portal\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20portal_description">Link to this property</a>

server\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20server_alias">Link to this property</a>

server\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20server_description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20servers">Link to this property</a>

Deprecatedallow\_code\_mode: Optional\[bool]

Deprecated: use <code>code_mode</code> for new integrations. <code>true</code> maps to any non-off Code Mode policy; <code>false</code> maps to <code>code_mode: off</code>. If both fields are sent, they must be consistent or the request returns a 400.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20allow_code_mode">Link to this property</a>

<details>

<summary>

code\_mode: Optional\[Literal\["off", "opt\_in", "default\_on", "enforced"]]

Code Mode policy for this portal. <code>off</code>: Code Mode is unavailable; query parameters are ignored. <code>opt_in</code>: Code Mode is off by default; clients turn it on with <code>?codemode=search_and_execute</code>. <code>default_on</code>: Code Mode is on by default; clients can opt out with <code>?codemode=off</code>. <code>enforced</code>: Code Mode is always on; query parameters are ignored. Defaults to <code>opt_in</code> when omitted on create. If both <code>code_mode</code> and <code>allow_code_mode</code> are sent, they must be consistent or the request returns a 400.

</summary>

One of the following:

"off"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%200">Link to this property</a>

"opt\_in"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%201">Link to this property</a>

"default\_on"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%202">Link to this property</a>

"enforced"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20code_mode">Link to this property</a>

created\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

created\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20created_by">Link to this property</a>

description: Optional\[str]

Optional description of the MCP portal.

maxLength512

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

modified\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

modified\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20modified_by">Link to this property</a>

secure\_web\_gateway: Optional\[bool]

Route outbound MCP traffic through Zero Trust Secure Web Gateway.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)%20%3E%20(property)%20secure_web_gateway">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_create_response%20%3E%20(schema)>)

<details>

<summary>

class PortalReadResponse: …

</summary>

id: str

Unique identifier for the MCP portal.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

hostname: str

Hostname where the MCP portal is available.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20hostname">Link to this property</a>

name: str

Display name for the MCP portal.

maxLength350

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

servers: List\[Server]

</summary>

id: str

Unique identifier for the MCP server.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

auth\_type: Literal\["oauth", "bearer", "unauthenticated"]

Authentication method used to connect to the upstream MCP server.

</summary>

One of the following:

"oauth"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%200">Link to this property</a>

"bearer"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%201">Link to this property</a>

"unauthenticated"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type">Link to this property</a>

hostname: str

URL of the upstream MCP endpoint.

formaturi

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20hostname">Link to this property</a>

name: str

Display name for the MCP server.

maxLength350

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

prompts: List\[Dict\[str, object]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20prompts">Link to this property</a>

server\_id: str

Unique identifier for the MCP server.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20server_id">Link to this property</a>

tools: List\[Dict\[str, object]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20tools">Link to this property</a>

<details>

<summary>

auth\_config\_summary: Optional\[ServerAuthConfigSummary]

Safe subset of auth\_credentials surfaced to the dashboard. Includes auth\_mode (dcr|manual), has\_client\_secret, client\_secret\_version, and the OAuth endpoints + client\_id for manual servers. Never includes the secret value.

</summary>

<details>

<summary>

auth\_mode: Optional\[Literal\["dcr", "manual"]]

</summary>

One of the following:

"dcr"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode%20%3E%20(member)%200">Link to this property</a>

"manual"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode">Link to this property</a>

client\_secret\_version: Optional\[float]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20client_secret_version">Link to this property</a>

<details>

<summary>

config: Optional\[ServerAuthConfigSummaryConfig]

</summary>

authorization\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20authorization_endpoint">Link to this property</a>

issuer: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20issuer">Link to this property</a>

resource: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20resource">Link to this property</a>

revocation\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20revocation_endpoint">Link to this property</a>

token\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20token_endpoint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config">Link to this property</a>

has\_client\_secret: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20has_client_secret">Link to this property</a>

<details>

<summary>

registration\_info: Optional\[ServerAuthConfigSummaryRegistrationInfo]

</summary>

client\_id: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20client_id">Link to this property</a>

redirect\_uris: Optional\[List\[str]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20redirect_uris">Link to this property</a>

scope: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20scope">Link to this property</a>

token\_endpoint\_auth\_method: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20token_endpoint_auth_method">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary">Link to this property</a>

<details>

<summary>

authentication\_status: Optional\[Literal\["not\_required", "required", "connected", 2 more]]

Whether administrative authentication is required before capabilities can be synced. Manual OAuth is user-managed and has no administrative authentication flow.

</summary>

One of the following:

"not\_required"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%200">Link to this property</a>

"required"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%201">Link to this property</a>

"connected"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%202">Link to this property</a>

"stale"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%203">Link to this property</a>

"manual"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status">Link to this property</a>

created\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20created_at">Link to this property</a>

created\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20created_by">Link to this property</a>

default\_disabled: Optional\[bool]

Hide this server’s tools and prompts by default. To expose specific capabilities, set enabled: true for them in updated\_tools or updated\_prompts.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20default_disabled">Link to this property</a>

description: Optional\[str]

Optional description of the MCP server.

maxLength512

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

error: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error">Link to this property</a>

<details>

<summary>

error\_details: Optional\[ServerErrorDetails]

</summary>

cause: Optional\[str]

Underlying error message

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20cause">Link to this property</a>

is\_upstream: Optional\[bool]

True = MCP server returned an error. False = couldn’t reach the server

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20is_upstream">Link to this property</a>

mcp\_code: Optional\[float]

MCP protocol error code

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20mcp_code">Link to this property</a>

retryable: Optional\[bool]

Whether the error is transient and worth retrying

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20retryable">Link to this property</a>

status\_code: Optional\[float]

HTTP status code from the server

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20status_code">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details">Link to this property</a>

is\_shared\_oauth\_callback\_enabled: Optional\[bool]

When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirect\_uri for upstream on-behalf OAuth, instead of the customer portal hostname. Defaults to false (off); opt in per server by setting true.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20is_shared_oauth_callback_enabled">Link to this property</a>

last\_successful\_sync: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20last_successful_sync">Link to this property</a>

last\_synced: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20last_synced">Link to this property</a>

modified\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20modified_at">Link to this property</a>

modified\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20modified_by">Link to this property</a>

on\_behalf: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20on_behalf">Link to this property</a>

secure\_web\_gateway: Optional\[bool]

Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20secure_web_gateway">Link to this property</a>

<details>

<summary>

status: Optional\[Literal\["waiting", "ready", "stale", "error"]]

Current sync state of the server

</summary>

One of the following:

"waiting"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"ready"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"stale"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"error"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

updated\_prompts: Optional\[List\[ServerUpdatedPrompt]]

</summary>

name: str

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

enabled: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

portal\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20portal_alias">Link to this property</a>

portal\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20portal_description">Link to this property</a>

server\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20server_alias">Link to this property</a>

server\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20server_description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts">Link to this property</a>

<details>

<summary>

updated\_tools: Optional\[List\[ServerUpdatedTool]]

</summary>

name: str

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

enabled: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

portal\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20portal_alias">Link to this property</a>

portal\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20portal_description">Link to this property</a>

server\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20server_alias">Link to this property</a>

server\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20server_description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20servers">Link to this property</a>

Deprecatedallow\_code\_mode: Optional\[bool]

Deprecated: use <code>code_mode</code> for new integrations. <code>true</code> maps to any non-off Code Mode policy; <code>false</code> maps to <code>code_mode: off</code>. If both fields are sent, they must be consistent or the request returns a 400.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20allow_code_mode">Link to this property</a>

<details>

<summary>

code\_mode: Optional\[Literal\["off", "opt\_in", "default\_on", "enforced"]]

Code Mode policy for this portal. <code>off</code>: Code Mode is unavailable; query parameters are ignored. <code>opt_in</code>: Code Mode is off by default; clients turn it on with <code>?codemode=search_and_execute</code>. <code>default_on</code>: Code Mode is on by default; clients can opt out with <code>?codemode=off</code>. <code>enforced</code>: Code Mode is always on; query parameters are ignored. Defaults to <code>opt_in</code> when omitted on create. If both <code>code_mode</code> and <code>allow_code_mode</code> are sent, they must be consistent or the request returns a 400.

</summary>

One of the following:

"off"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%200">Link to this property</a>

"opt\_in"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%201">Link to this property</a>

"default\_on"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%202">Link to this property</a>

"enforced"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20code_mode">Link to this property</a>

created\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

created\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20created_by">Link to this property</a>

description: Optional\[str]

Optional description of the MCP portal.

maxLength512

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

modified\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

modified\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20modified_by">Link to this property</a>

secure\_web\_gateway: Optional\[bool]

Route outbound MCP traffic through Zero Trust Secure Web Gateway.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)%20%3E%20(property)%20secure_web_gateway">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_read_response%20%3E%20(schema)>)

<details>

<summary>

class PortalUpdateResponse: …

</summary>

id: str

Unique identifier for the MCP portal.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

hostname: str

Hostname where the MCP portal is available.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20hostname">Link to this property</a>

name: str

Display name for the MCP portal.

maxLength350

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

servers: List\[Server]

</summary>

id: str

Unique identifier for the MCP server.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

auth\_type: Literal\["oauth", "bearer", "unauthenticated"]

Authentication method used to connect to the upstream MCP server.

</summary>

One of the following:

"oauth"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%200">Link to this property</a>

"bearer"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%201">Link to this property</a>

"unauthenticated"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_type">Link to this property</a>

hostname: str

URL of the upstream MCP endpoint.

formaturi

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20hostname">Link to this property</a>

name: str

Display name for the MCP server.

maxLength350

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

prompts: List\[Dict\[str, object]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20prompts">Link to this property</a>

server\_id: str

Unique identifier for the MCP server.

maxLength32

minLength1

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20server_id">Link to this property</a>

tools: List\[Dict\[str, object]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20tools">Link to this property</a>

<details>

<summary>

auth\_config\_summary: Optional\[ServerAuthConfigSummary]

Safe subset of auth\_credentials surfaced to the dashboard. Includes auth\_mode (dcr|manual), has\_client\_secret, client\_secret\_version, and the OAuth endpoints + client\_id for manual servers. Never includes the secret value.

</summary>

<details>

<summary>

auth\_mode: Optional\[Literal\["dcr", "manual"]]

</summary>

One of the following:

"dcr"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode%20%3E%20(member)%200">Link to this property</a>

"manual"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20auth_mode">Link to this property</a>

client\_secret\_version: Optional\[float]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20client_secret_version">Link to this property</a>

<details>

<summary>

config: Optional\[ServerAuthConfigSummaryConfig]

</summary>

authorization\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20authorization_endpoint">Link to this property</a>

issuer: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20issuer">Link to this property</a>

resource: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20resource">Link to this property</a>

revocation\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20revocation_endpoint">Link to this property</a>

token\_endpoint: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config%20%3E%20(property)%20token_endpoint">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20config">Link to this property</a>

has\_client\_secret: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20has_client_secret">Link to this property</a>

<details>

<summary>

registration\_info: Optional\[ServerAuthConfigSummaryRegistrationInfo]

</summary>

client\_id: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20client_id">Link to this property</a>

redirect\_uris: Optional\[List\[str]]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20redirect_uris">Link to this property</a>

scope: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20scope">Link to this property</a>

token\_endpoint\_auth\_method: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info%20%3E%20(property)%20token_endpoint_auth_method">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary%20%3E%20(property)%20registration_info">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20auth_config_summary">Link to this property</a>

<details>

<summary>

authentication\_status: Optional\[Literal\["not\_required", "required", "connected", 2 more]]

Whether administrative authentication is required before capabilities can be synced. Manual OAuth is user-managed and has no administrative authentication flow.

</summary>

One of the following:

"not\_required"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%200">Link to this property</a>

"required"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%201">Link to this property</a>

"connected"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%202">Link to this property</a>

"stale"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%203">Link to this property</a>

"manual"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20authentication_status">Link to this property</a>

created\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20created_at">Link to this property</a>

created\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20created_by">Link to this property</a>

default\_disabled: Optional\[bool]

Hide this server’s tools and prompts by default. To expose specific capabilities, set enabled: true for them in updated\_tools or updated\_prompts.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20default_disabled">Link to this property</a>

description: Optional\[str]

Optional description of the MCP server.

maxLength512

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

error: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error">Link to this property</a>

<details>

<summary>

error\_details: Optional\[ServerErrorDetails]

</summary>

cause: Optional\[str]

Underlying error message

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20cause">Link to this property</a>

is\_upstream: Optional\[bool]

True = MCP server returned an error. False = couldn’t reach the server

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20is_upstream">Link to this property</a>

mcp\_code: Optional\[float]

MCP protocol error code

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20mcp_code">Link to this property</a>

retryable: Optional\[bool]

Whether the error is transient and worth retrying

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20retryable">Link to this property</a>

status\_code: Optional\[float]

HTTP status code from the server

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details%20%3E%20(property)%20status_code">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20error_details">Link to this property</a>

is\_shared\_oauth\_callback\_enabled: Optional\[bool]

When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirect\_uri for upstream on-behalf OAuth, instead of the customer portal hostname. Defaults to false (off); opt in per server by setting true.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20is_shared_oauth_callback_enabled">Link to this property</a>

last\_successful\_sync: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20last_successful_sync">Link to this property</a>

last\_synced: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20last_synced">Link to this property</a>

modified\_at: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20modified_at">Link to this property</a>

modified\_by: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20modified_by">Link to this property</a>

on\_behalf: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20on_behalf">Link to this property</a>

secure\_web\_gateway: Optional\[bool]

Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20secure_web_gateway">Link to this property</a>

<details>

<summary>

status: Optional\[Literal\["waiting", "ready", "stale", "error"]]

Current sync state of the server

</summary>

One of the following:

"waiting"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"ready"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"stale"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"error"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

updated\_prompts: Optional\[List\[ServerUpdatedPrompt]]

</summary>

name: str

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

enabled: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

portal\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20portal_alias">Link to this property</a>

portal\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20portal_description">Link to this property</a>

server\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20server_alias">Link to this property</a>

server\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts%20%3E%20(items)%20%3E%20(property)%20server_description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_prompts">Link to this property</a>

<details>

<summary>

updated\_tools: Optional\[List\[ServerUpdatedTool]]

</summary>

name: str

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

enabled: Optional\[bool]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

portal\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20portal_alias">Link to this property</a>

portal\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20portal_description">Link to this property</a>

server\_alias: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20server_alias">Link to this property</a>

server\_description: Optional\[str]

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools%20%3E%20(items)%20%3E%20(property)%20server_description">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers%20%3E%20(items)%20%3E%20(property)%20updated_tools">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20servers">Link to this property</a>

Deprecatedallow\_code\_mode: Optional\[bool]

Deprecated: use <code>code_mode</code> for new integrations. <code>true</code> maps to any non-off Code Mode policy; <code>false</code> maps to <code>code_mode: off</code>. If both fields are sent, they must be consistent or the request returns a 400.

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20allow_code_mode">Link to this property</a>

<details>

<summary>

code\_mode: Optional\[Literal\["off", "opt\_in", "default\_on", "enforced"]]

Code Mode policy for this portal. <code>off</code>: Code Mode is unavailable; query parameters are ignored. <code>opt_in</code>: Code Mode is off by default; clients turn it on with <code>?codemode=search_and_execute</code>. <code>default_on</code>: Code Mode is on by default; clients can opt out with <code>?codemode=off</code>. <code>enforced</code>: Code Mode is always on; query parameters are ignored. Defaults to <code>opt_in</code> when omitted on create. If both <code>code_mode</code> and <code>allow_code_mode</code> are sent, they must be consistent or the request returns a 400.

</summary>

One of the following:

"off"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%200">Link to this property</a>

"opt\_in"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%201">Link to this property</a>

"default\_on"

<a href="#(resource)%20zero_trust.access.ai_controls.mcp.portals%20%3E%20(model)%20portal_update_response%20%3E%20(schema)%20%3E%20(property)%20code_mode%20%3E%20(member)%202">Link to this property</a>

"enforced"

</details>

</details>

<!-- Cloudflare Markdown for Agents: incomplete conversion; source HTML truncated at the conversion size limit -->
