waft.cf_dashboard.zero_trust.device_manager module

class waft.cf_dashboard.zero_trust.device_manager.DeviceManager(dash_client: CfDashboardClient, account_id: str)

Bases: CfDashboardResource

Class to define interactions with device registrations over Cloudflare python SDK

get(registration_id: str) DeviceModel

Get device object for device with given device ID

Parameters:

registration_id – Device registration ID to query

list() List[RegistrationListResponse]

List all device registrations

list_override_codes(registration_id: str) dict

List all override codes enabled

Parameters:

registration_id – Device registration ID to query

revoke(registration_ids: List[str])

Revoke device registrations