cyphermed.models
Contains all the data models used in inputs/outputs
List of group access granted to current account
Attributes: group_access (Union[Unset, List['AccountGroupAccessSchema']]): group_ids (Union[Unset, List[str]]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class AccountGroupAccessList.
Group access schema plus some info about the group
Attributes: is_delete_protected (bool): This must be set false before the access can be deleted created_date (datetime.datetime): Date and time the access was created can_read (bool): If true, the account can read this access can_update (bool): If true, the account can update this access user_permissions (CRUDPermissions): Collection of CRUD permissions device_permissions (CRUDPermissions): Collection of CRUD permissions tags (List[str]): List of tags on this access object group_id (str): ID of the group that has access grantee_id (str): ID of the account that has access is_admin (bool): If true, the account has admin access role_permissions (CRUDPermissions): Collection of CRUD permissions is_active (bool): If false, all group access operations are disabled data_paths (AccountGroupAccessSchemaDataPaths): Dictionary of accessible data paths file_paths (AccountGroupAccessSchemaFilePaths): Dictionary of accessible file paths group_name (str): group_description (str): group_tags (List[str]): last_updated_date (Union[Unset, datetime.datetime]): Date and time the access was last updated created_by (Union[Unset, str]): ID of the account that created this access last_updated_by (Union[Unset, str]): ID of the account that last updated this access
Method generated by attrs for class AccountGroupAccessSchema.
Dictionary of accessible data paths
Method generated by attrs for class AccountGroupAccessSchemaDataPaths.
Dictionary of accessible file paths
Method generated by attrs for class AccountGroupAccessSchemaFilePaths.
Organization access info
Attributes: org_access (OrgAccessSchema): Access for an organization
Method generated by attrs for class AccountOrgAccessInfo.
List of project access granted to current account
Attributes: project_access (Union[Unset, List['AccountProjectAccessSchema']]): project_ids (Union[Unset, List[str]]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class AccountProjectAccessList.
Project access schema plus some info about the project
Attributes: is_delete_protected (bool): This must be set false before the access can be deleted created_date (datetime.datetime): Date and time the access was created can_read (bool): If true, the account can read this access can_update (bool): If true, the account can update this access user_permissions (CRUDPermissions): Collection of CRUD permissions device_permissions (CRUDPermissions): Collection of CRUD permissions tags (List[str]): List of tags on this access object project_id (str): ID of the project grantee_id (str): ID of the account that has access to the project is_admin (bool): If true, the account has admin access to the project group_permissions (CRUDPermissions): Collection of CRUD permissions role_permissions (CRUDPermissions): Collection of CRUD permissions is_active (bool): If false, all project operations are disabled project_name (str): project_description (str): project_tags (List[str]): last_updated_date (Union[Unset, datetime.datetime]): Date and time the access was last updated created_by (Union[Unset, str]): ID of the account that created this access last_updated_by (Union[Unset, str]): ID of the account that last updated this access
Method generated by attrs for class AccountProjectAccessSchema.
Attributes: device (AdminDeviceSchema): Which Device fields to include in response bodies
Attributes: devices (Union[Unset, List['AdminDeviceSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class AdminDeviceList.
Which Device fields to include in response bodies
Attributes: name (str): locale (str): zoneinfo (str): id (str): ID of the account created_date (datetime.datetime): UTC datetime the account was created tags (List[str]): Tags for this device open_tunnels (List['Tunnel']): List of open tunnels to this device custom_attributes (AdminDeviceSchemaCustomAttributes): Custom attributes for this device restricted_custom_attributes (AdminDeviceSchemaRestrictedCustomAttributes): Custom attributes only admins can update iot_scopes (AdminDeviceSchemaIotScopes): PubSub permissions per IoT scope for this device is_active (bool): Is this account active? is_delete_protected (Union[Unset, bool]): Default: False. manufacturer (Union[Unset, str]): product (Union[Unset, str]): site (Union[Unset, str]): serial_number (Union[Unset, str]): mac_address (Union[Unset, str]): is_org_admin (Union[Unset, bool]): Default: False. picture (Union[Unset, str]): picture_base64 (Union[Unset, str]): picture_content_type (Union[Unset, str]): project_id (Union[Unset, str]): ID of the project this group belongs to, if any is_project_admin (Union[Unset, bool]): Whether this user is a project admin, only visible in project scope is_group_admin (Union[Unset, bool]): Whether this user is a group admin, only visible when filtered by group created_by (Union[Unset, str]): ID of the user who created this account last_updated_by (Union[Unset, str]): ID of the user who last updated this account last_updated_date (Union[Unset, datetime.datetime]): UTC datetime the account was last updated api_key_last_changed (Union[Unset, datetime.datetime]): UTC datetime the API key was last changed mqtt_credentials_last_changed (Union[Unset, datetime.datetime]): UTC datetime the MQTT credentials were last changed last_seen (Union[Unset, datetime.datetime]): UTC datetime the device was last seen owner_id (Union[Unset, str]): ID of the device owner project_ids (Union[Unset, List[str]]): Projects they belong to, individual devices only group_ids (Union[Unset, List[str]]): Groups they belong to, individual devices only role_ids (Union[Unset, List[str]]): Roles they belong to, individual devices only project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access
Method generated by attrs for class AdminDeviceSchema.
Custom attributes for this device
PubSub permissions per IoT scope for this device
Custom attributes only admins can update
Access for a group
Attributes: group_access (AdminGroupAccessSchema): Access for a group plus admin-only fields
Method generated by attrs for class AdminGroupAccessInfo.
Access for a group plus admin-only fields
Attributes: is_delete_protected (bool): This must be set false before the access can be deleted created_date (datetime.datetime): Date and time the access was created can_read (bool): If true, the account can read this access can_update (bool): If true, the account can update this access user_permissions (CRUDPermissions): Collection of CRUD permissions device_permissions (CRUDPermissions): Collection of CRUD permissions tags (List[str]): List of tags on this access object group_id (str): ID of the group that has access grantee_id (str): ID of the account that has access is_admin (bool): If true, the account has admin access role_permissions (CRUDPermissions): Collection of CRUD permissions is_active (bool): If false, all group access operations are disabled data_paths (AdminGroupAccessSchemaDataPaths): Dictionary of accessible data paths file_paths (AdminGroupAccessSchemaFilePaths): Dictionary of accessible file paths last_updated_date (Union[Unset, datetime.datetime]): Date and time the access was last updated created_by (Union[Unset, str]): ID of the account that created this access last_updated_by (Union[Unset, str]): ID of the account that last updated this access
Method generated by attrs for class AdminGroupAccessSchema.
Dictionary of accessible data paths
Method generated by attrs for class AdminGroupAccessSchemaDataPaths.
Dictionary of accessible file paths
Method generated by attrs for class AdminGroupAccessSchemaFilePaths.
Info on one specific group
Attributes: group (AdminGroupSchema): Group schema plus admin-only fields
List of groups
Attributes: groups (Union[Unset, List['AdminGroupSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class AdminGroupList.
Group schema plus admin-only fields
Attributes: id (str): ID of the group name (str): Name of the group description (str): Description of the group is_delete_protected (bool): This must be set false before the group can be deleted is_active (bool): If false, all group operations are disabled created_date (datetime.datetime): Date and time the group was created last_updated_by (str): ID of the account that last updated the group tags (List[str]): List of tags on this group num_history (int): Number of history entries to keep on rolling list attributes role_delete_protection_on_by_default (bool): If true, new roles attached to this group will have delete protection enabled if not specified at creation require_delete_permission_to_put_data (bool): If true, require delete permission to put data project_id (Union[Unset, str]): ID of the project this group belongs to, if any last_updated_date (Union[Unset, datetime.datetime]): Date and time the group was last updated created_by (Union[Unset, str]): ID of the account that created the group
Method generated by attrs for class AdminGroupSchema.
Info on one specific project access plus admin-only fields
Attributes: project_access (AdminProjectAccessSchema): Project access schema plus admin-only fields
Method generated by attrs for class AdminProjectAccessInfo.
Project access schema plus admin-only fields
Attributes: is_delete_protected (bool): This must be set false before the access can be deleted created_date (datetime.datetime): Date and time the access was created can_read (bool): If true, the account can read this access can_update (bool): If true, the account can update this access user_permissions (CRUDPermissions): Collection of CRUD permissions device_permissions (CRUDPermissions): Collection of CRUD permissions tags (List[str]): List of tags on this access object project_id (str): ID of the project grantee_id (str): ID of the account that has access to the project is_admin (bool): If true, the account has admin access to the project group_permissions (CRUDPermissions): Collection of CRUD permissions role_permissions (CRUDPermissions): Collection of CRUD permissions is_active (bool): If false, all project operations are disabled last_updated_date (Union[Unset, datetime.datetime]): Date and time the access was last updated created_by (Union[Unset, str]): ID of the account that created this access last_updated_by (Union[Unset, str]): ID of the account that last updated this access
Method generated by attrs for class AdminProjectAccessSchema.
Info on one specific project plus admin-only fields
Attributes: project (AdminProjectSchema): Project schema plus admin-only fields
List of projects plus admin-only fields
Attributes: projects (Union[Unset, List['AdminProjectSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class AdminProjectList.
Project schema plus admin-only fields
Attributes: name (str): is_active (bool): If false, all project operations are disabled created_date (datetime.datetime): id (str): ID of the project tags (List[str]): List of tags on this project ui_config (InterfaceConfig): Configuration for the user interface alias (Union[Unset, str]): description (Union[Unset, str]): Default: ''. allowed_login_fields (Union[Unset, AdminProjectSchemaAllowedLoginFields]): custom_settings (Union[Unset, AdminProjectSchemaCustomSettings]): device_owners_have_admin_access (Union[Unset, bool]): Default: False. device_owners_can_tunnel (Union[Unset, bool]): Default: False. device_creators_are_owners_by_default (Union[Unset, bool]): Default: False. group_delete_protection_on_by_default (Union[Unset, bool]): Default: False. role_delete_protection_on_by_default (Union[Unset, bool]): Default: False. is_delete_protected (Union[Unset, bool]): Default: False. last_updated_date (Union[Unset, datetime.datetime]): default_locale (Union[Unset, str]): default_from_address (Union[Unset, str]): reset_token_expire_hours (Union[Unset, int]): Default: 24. access_token_expire_hours (Union[Unset, int]): Default: 1. refresh_token_expire_hours (Union[Unset, int]): Default: 24. session_expire_mins (Union[Unset, int]): Default: 5. pii_admin_only (Union[Unset, bool]): Default: False. use_legacy_data_and_files_permissions (Union[Unset, bool]): Default: False. groups_require_delete_permission_to_put_data_by_default (Union[Unset, bool]): Default: False.
Method generated by attrs for class AdminProjectSchema.
Info on one specific role access
Attributes: role_access (AdminRoleAccessSchema): Role access schema
Method generated by attrs for class AdminRoleAccessInfo.
Role access schema
Attributes: is_delete_protected (bool): This must be set false before the access can be deleted created_date (datetime.datetime): Date and time the access was created can_read (bool): If true, the account can read this access can_update (bool): If true, the account can update this access user_permissions (CRUDPermissions): Collection of CRUD permissions device_permissions (CRUDPermissions): Collection of CRUD permissions tags (List[str]): List of tags on this access object role_id (str): ID of the role that has access account_id (str): ID of the account that has access to the role is_active (bool): If false, all role operations are disabled last_updated_date (Union[Unset, datetime.datetime]): Date and time the access was last updated created_by (Union[Unset, str]): ID of the account that created this access last_updated_by (Union[Unset, str]): ID of the account that last updated this access
Method generated by attrs for class AdminRoleAccessSchema.
Info on one specific role
Attributes: role (AdminRoleSchema): Which Role fields to include in response bodies for admins
List of roles
Attributes: roles (Union[Unset, List['AdminRoleSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class AdminRoleList.
Which Role fields to include in response bodies for admins
Attributes: id (str): ID of the role name (str): Name of the role description (str): Description of the role is_delete_protected (bool): This must be set false before the role can be deleted is_org_admin (bool): Whether this user is an org admin tags (List[str]): Tags for this role created_date (datetime.datetime): UTC datetime the account was created restricted_custom_attributes (AdminRoleSchemaRestrictedCustomAttributes): Custom attributes only admins can update is_active (bool): If false, all role operations are disabled created_by (Union[Unset, str]): ID of the user who created this account last_updated_by (Union[Unset, str]): ID of the user who last updated this account last_updated_date (Union[Unset, datetime.datetime]): UTC datetime the account was last updated project_id (Union[Unset, str]): ID of the project this group belongs to, if any is_project_admin (Union[Unset, bool]): Whether this user is a project admin, only visible in project scope is_group_admin (Union[Unset, bool]): Whether this user is a group admin, only visible when filtered by group custom_attributes (Union[Unset, AdminRoleSchemaCustomAttributes]): Custom attributes for this user project_ids (Union[Unset, List[str]]): Projects they belong to, individual roles only group_ids (Union[Unset, List[str]]): Groups they belong to, individual roles only project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access
Method generated by attrs for class AdminRoleSchema.
Custom attributes for this user
Custom attributes only admins can update
Attributes: user (AdminUserSchema): Which User fields to include in response bodies
Attributes: users (Union[Unset, List['AdminUserSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class AdminUserList.
Which User fields to include in response bodies
Attributes: locale (str): zoneinfo (str): username (str): email (str): new_password_required (bool): State of user not having permanent password has_temporary_password (bool): Whether this user has a temporary password id (str): ID of the account created_date (datetime.datetime): UTC datetime the account was created tags (List[str]): Tags for this user custom_attributes (AdminUserSchemaCustomAttributes): Custom attributes for this user restricted_custom_attributes (AdminUserSchemaRestrictedCustomAttributes): Custom attributes only admins can update mfa_enabled (bool): Whether MFA is enabled for this user sms_mfa_enabled (bool): Whether SMS MFA is enabled for this user software_mfa_enabled (bool): Whether software MFA is enabled for this user is_active (bool): Whether this user is active is_delete_protected (Union[Unset, bool]): Default: False. picture (Union[Unset, str]): picture_base64 (Union[Unset, str]): picture_content_type (Union[Unset, str]): password_last_changed (Union[Unset, datetime.datetime]): UTC datetime the user last changed password phone_number (Union[Unset, str]): phone_number_verified (Union[Unset, bool]): Default: False. nickname (Union[Unset, str]): first_name (Union[Unset, str]): middle_name (Union[Unset, str]): last_name (Union[Unset, str]): is_org_admin (Union[Unset, bool]): Default: False. created_by (Union[Unset, str]): ID of the user who created this account last_updated_by (Union[Unset, str]): ID of the user who last updated this account last_updated_date (Union[Unset, datetime.datetime]): UTC datetime the account was last updated last_seen (Union[Unset, datetime.datetime]): UTC datetime the user was last seen preferred_mfa (Union[Unset, str]): Preferred MFA method for this user is_project_admin (Union[Unset, bool]): Whether this user is a project admin, only visible when filtered by project is_group_admin (Union[Unset, bool]): Whether this user is a group admin, only visible when filtered by group project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access project_ids (Union[Unset, List[str]]): Projects they belong to, individual users only group_ids (Union[Unset, List[str]]): Groups they belong to, individual users only role_ids (Union[Unset, List[str]]): Roles they belong to, individual users only
Method generated by attrs for class AdminUserSchema.
Custom attributes for this user
Custom attributes only admins can update
Anonymous account base schema
Attributes: username (str): created_date (datetime.datetime): id (str): ID of the account is_delete_protected (Union[Unset, bool]): Default: False. last_updated_date (Union[Unset, datetime.datetime]):
Info on one specific device
Attributes: device (AnonAccountSchema): Anonymous account base schema
List of devices
Attributes: devices (Union[Unset, List['AnonAccountSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class AnonDeviceList.
Info on one specific user
Attributes: user (AnonAccountSchema): Anonymous account base schema
List of users
Attributes: users (Union[Unset, List['AnonAccountSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class AnonUserList.
Bulk request body
Attributes: method (str): Method to use for bulk request jobs (List[Union['DeleteDataJob', 'GetDataJob', 'PatchDataJob', 'UploadDataJob']]): Jobs to perform, grouped by group ID, all of the same method
Method generated by attrs for class BulkDataBody.
Challenge response schema
Attributes: challenge (str): Challenge code, a unique identifier for the type of challenge message (str): Message to display to the user session (str): Session token to use in the challenge response
Interface configuration for a given client ID
Attributes: allowed_login_fields (List[str]): List of allowed login fields client_id (str): Client ID ui_config (InterfaceConfig): Configuration for the user interface
Method generated by attrs for class ClientInterfaceInfo.
Create a new device
Attributes: name (str): Name of the device is_active (Union[Unset, bool]): (Admin only) Whether this account is active is_delete_protected (Union[Unset, bool]): Whether this account is delete protected locale (Union[Unset, str]): Locale of the account zoneinfo (Union[Unset, str]): Timezone of the account picture (Union[Unset, str]): URL of the account's picture tags (Union[Unset, List[str]]): List of tags on this account project_id (Union[Unset, str]): ID of project to create them in (org admins only) project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access custom_attributes (Union[Unset, CreateDeviceBodyCustomAttributes]): Custom attributes for this user restricted_custom_attributes (Union[Unset, CreateDeviceBodyRestrictedCustomAttributes]): Custom attributes only admins can update owner_id (Union[Unset, str]): ID of the device owner manufacturer (Union[Unset, str]): Device manufacturer product (Union[Unset, str]): Product name site (Union[Unset, str]): Location of this device serial_number (Union[Unset, str]): Device serial number mac_address (Union[Unset, str]): MAC address of this device iot_scopes (Union[Unset, CreateDeviceBodyIotScopes]): PubSub permissions per IoT scope for this device
Method generated by attrs for class CreateDeviceBody.
Custom attributes for this user
PubSub permissions per IoT scope for this device
Custom attributes only admins can update
Which Template fields to include in request bodies
Attributes: name (str): Name of the template subject (str): Subject of the template body_txt (str): Plain text body of the template body_html (str): HTML body of the template from_address (Union[Unset, str]): From email address to use with this template description (Union[Unset, str]): Description of the template project_id (Union[Unset, str]): ID of the project this template belongs to, if any is_delete_protected (Union[Unset, bool]): This must be set false before the template can be deleted tags (Union[Unset, List[str]]): List of tags on this template custom_args (Union[Unset, List[str]]): List of custom arguments on this template for_account_recovery (Union[Unset, bool]): If true, the template is used for forgot password emails for_new_users (Union[Unset, bool]): If true, the template is used for new user emails locale (Union[Unset, str]): Locale for the template, defaults to project or org locale
Method generated by attrs for class CreateEmailTemplateBody.
Which GroupAccess fields to include in POST request bodies
Attributes: is_delete_protected (Union[Unset, bool]): This must be set false before the access can be deleted tags (Union[Unset, List[str]]): List of tags on this access object user_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions device_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions can_read (Union[Unset, bool]): If true, the grantee can read the target resource can_update (Union[Unset, bool]): If true, the grantee can update the target resource role_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions is_admin (Union[Unset, bool]): If true, the grantee has admin access to the group data_paths (Union[Unset, CreateGroupAccessBodyDataPaths]): Dictionary of accessible data paths and their CRUD permissions file_paths (Union[Unset, CreateGroupAccessBodyFilePaths]): Dictionary of accessible file paths and their CRUD permissions
Method generated by attrs for class CreateGroupAccessBody.
Dictionary of accessible data paths and their CRUD permissions
Method generated by attrs for class CreateGroupAccessBodyDataPaths.
Dictionary of accessible file paths and their CRUD permissions
Method generated by attrs for class CreateGroupAccessBodyFilePaths.
Which Group fields to include in request bodies
Attributes: name (str): Name of the group description (Union[Unset, str]): Description of the group is_delete_protected (Union[Unset, bool]): This must be set false before the group can be deleted tags (Union[Unset, List[str]]): List of tags on this group require_delete_permission_to_put_data (Union[Unset, bool]): (Admin only) If true, require delete permission to put data project_id (Union[Unset, str]): ID of the project this group belongs to, if any create_own_access (Union[Unset, bool]): If true, full access to the group is automatically created for the requester Default: True.
Method generated by attrs for class CreateGroupBody.
Which ProjectAccess fields to include in PATCH request bodies
Attributes: is_delete_protected (Union[Unset, bool]): This must be set false before the access can be deleted tags (Union[Unset, List[str]]): List of tags on this access object user_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions device_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions can_read (Union[Unset, bool]): If true, the grantee can read the target resource can_update (Union[Unset, bool]): If true, the grantee can update the target resource group_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions role_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions is_admin (Union[Unset, bool]): If true, the grantee has admin access to the project
Method generated by attrs for class CreateProjectAccessBody.
Create project body
Attributes: name (str): Name of the project alias (Union[Unset, str]): Unique alias for the project description (Union[Unset, str]): Description of the project is_delete_protected (Union[Unset, bool]): Must be false before the project can be deleted tags (Union[Unset, List[str]]): List of tags on this project reset_token_expire_hours (Union[Unset, int]): Number of hours reset tokens are valid (1-168) group_delete_protection_on_by_default (Union[Unset, bool]): If true, groups are delete-protected by default role_delete_protection_on_by_default (Union[Unset, bool]): If true, roles are delete-protected by default access_token_expire_hours (Union[Unset, int]): Number of hours access tokens are valid (1-24) refresh_token_expire_hours (Union[Unset, int]): Number of hours refresh tokens are valid (1-8760) session_expire_mins (Union[Unset, int]): Number of mins sessions are valid (3-15) ui_config (Union[Unset, InterfaceConfig]): Configuration for the user interface use_legacy_data_and_files_permissions (Union[Unset, bool]): If true, use legacy data and files permissions groups_require_delete_permission_to_put_data_by_default (Union[Unset, bool]): If true, groups require delete permission to delete data by default allowed_login_fields (Union[Unset, List[str]]): Allowed login fields default_locale (Union[Unset, str]): Default locale for the organization Default: 'en-US'. default_from_address (Union[Unset, str]): Default from address Default: 'noreply@cyphermed.cloud'. create_own_access (Union[Unset, bool]): If true, full access to the project is automatically created for the requester Default: True.
Method generated by attrs for class CreateProjectBody.
Body for POST /roles/{id}/access
Attributes: is_delete_protected (Union[Unset, bool]): This must be set false before the access can be deleted tags (Union[Unset, List[str]]): List of tags on this access object user_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions device_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions can_read (Union[Unset, bool]): If true, the grantee can read the target resource can_update (Union[Unset, bool]): If true, the grantee can update the target resource
Method generated by attrs for class CreateRoleAccessBody.
Which Role fields to include in request bodies
Attributes: name (str): Name of the role description (Union[Unset, str]): Description of the role is_delete_protected (Union[Unset, bool]): This must be set false before the role can be deleted tags (Union[Unset, List[str]]): List of tags on this role org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access custom_attributes (Union[Unset, CreateRoleBodyCustomAttributes]): Custom attributes for this user restricted_custom_attributes (Union[Unset, CreateRoleBodyRestrictedCustomAttributes]): Custom attributes only admins can update project_id (Union[Unset, str]): ID of the project the role is linked with, if any create_own_access (Union[Unset, bool]): If true, full access to the role is automatically created for the requester Default: False.
Method generated by attrs for class CreateRoleBody.
Custom attributes for this user
Custom attributes only admins can update
Create a new tunnel
Attributes: services (List[str]): List of services to expose timeout (Union[Unset, int]): Tunnel timeout in minutes, default 1 hour, max 12 hours Default: 60. sendto_user_id (Union[Unset, str]): User who's email will receive tunnel info
Request payload for POST /users
Attributes: email (str): Email of the user is_active (Union[Unset, bool]): (Admin only) Whether this account is active is_delete_protected (Union[Unset, bool]): Whether this account is delete protected locale (Union[Unset, str]): Locale of the account zoneinfo (Union[Unset, str]): Timezone of the account picture (Union[Unset, str]): URL of the account's picture tags (Union[Unset, List[str]]): List of tags on this account project_id (Union[Unset, str]): ID of project to create them in (org admins only) project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access custom_attributes (Union[Unset, CreateUserBodyCustomAttributes]): Custom attributes for this user restricted_custom_attributes (Union[Unset, CreateUserBodyRestrictedCustomAttributes]): Custom attributes only admins can update username (Union[Unset, str]): Username of the user phone_number (Union[Unset, str]): Phone number of the user password (Union[Unset, str]): Password of the user temp_password (Union[Unset, str]): Temporary password nickname (Union[Unset, str]): Nickname of the user first_name (Union[Unset, str]): First (or given) name of the user middle_name (Union[Unset, str]): Middle name of the user last_name (Union[Unset, str]): Last (or family) name of the user
Method generated by attrs for class CreateUserBody.
Custom attributes for this user
Custom attributes only admins can update
Collection of CRUD permissions
Attributes: can_create (Union[Unset, bool]): Default: False. can_read (Union[Unset, bool]): Default: False. can_update (Union[Unset, bool]): Default: False. can_delete (Union[Unset, bool]): Default: False.
Current session access info
Attributes: org_permissions (OrgAccessPermissions): Collection of permissions for org access project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access
Method generated by attrs for class CurrentSessionAccessInfo.
Attributes: file (File):
Method generated by attrs for class SetAccountPictureFileParams.
Attributes: client_id (Union[Unset, str]): Client ID username (Union[Unset, str]): Username email (Union[Unset, str]): Email phone_number (Union[Unset, str]): Phone number recovery_code (Union[Unset, str]): SMS MFA recovery code
Attributes: client_id (Union[Unset, str]): Client ID username (Union[Unset, str]): Username email (Union[Unset, str]): Email phone_number (Union[Unset, str]): Phone number recovery_code (Union[Unset, str]): Software MFA recovery code
Attributes: phone_number (str): Phone number client_id (Union[Unset, str]): Client ID username (Union[Unset, str]): Username email (Union[Unset, str]): Email set_preferred (Union[Unset, bool]): Set as preferred MFA device recovery_code (Union[Unset, str]): MFA recovery code
Attributes: client_id (str): Client ID mfa_code (str): MFA code generated using the secret code username (Union[Unset, str]): Username email (Union[Unset, str]): Email phone_number (Union[Unset, str]): Phone number set_preferred (Union[Unset, bool]): Set as preferred MFA device
Attributes: client_id (str): Client ID username (Union[Unset, str]): Username email (Union[Unset, str]): Email phone_number (Union[Unset, str]): Phone number
Attributes: grant_type (str): Grant type client_id (Union[Unset, str]): Client ID username (Union[Unset, str]): Username email (Union[Unset, str]): Email phone_number (Union[Unset, str]): Phone number refresh_token (Union[Unset, str]): Refresh token scope (Union[Unset, str]): Scope password (Union[Unset, str]): Password mfa_code (Union[Unset, str]): Software MFA code
Method generated by attrs for class LoginFormParams.
Attributes: refresh_token (Union[Unset, str]): Refresh token
Attributes: preferred_mfa (str): Preferred MFA device
Attributes: client_id (str): Client ID challenge (str): Challenge username (Union[Unset, str]): Username email (Union[Unset, str]): Email phone_number (Union[Unset, str]): Phone number scope (Union[Unset, str]): (Staff Only) Scope mfa_choice (Union[Unset, str]): MFA choice: software or sms mfa_code (Union[Unset, str]): MFA code new_password (Union[Unset, str]): New password
Method generated by attrs for class RespondToChallengeFormParams.
Attributes: new_password (str): New password old_password (Union[Unset, str]): Old password
Configuration for the dashboard homepage
Attributes: widgets (List['WidgetInfo']): List of widgets to display on the dashboard
List of group data
Attributes: paths (Union[Unset, List[str]]): object_count (Union[Unset, int]): last_evaluated_key (Union[Unset, DataAtPathLastEvaluatedKey]): data (Union['DataSchema', List['DataSchema'], Unset]):
Method generated by attrs for class DataAtPath.
List of group data
Attributes: data_by_path (DataByPathDataByPath):
List of group data
Attributes: paths (Union[Unset, List[str]]): object_count (Union[Unset, int]): last_evaluated_key (Union[Unset, DataInfoLastEvaluatedKey]):
Method generated by attrs for class DataInfo.
Group data
Attributes: path (str): Path this data entry is stored at value (DataSchemaValue): Data stored at this path created_by (str): ID of the account that created this data created_date (datetime.datetime): Date this data was created updated_by_list (List[str]): List of account IDs for most recent editors updated_date_list (List[datetime.datetime]): List of dates for most recent edits verified (bool): Whether the signature on this entry was verified on retrieval revision (int): Revison number of the data entry unicode_1 (Union[Unset, str]): Custom unicode index 1 unicode_2 (Union[Unset, str]): Custom unicode index 2 unicode_3 (Union[Unset, str]): Custom unicode index 3 unicode_4 (Union[Unset, str]): Custom unicode index 4 unicode_5 (Union[Unset, str]): Custom unicode index 5 unicode_6 (Union[Unset, str]): Custom unicode index 6 unicode_7 (Union[Unset, str]): Custom unicode index 7 unicode_8 (Union[Unset, str]): Custom unicode index 8 unicode_9 (Union[Unset, str]): Custom unicode index 9 unicode_10 (Union[Unset, str]): Custom unicode index 10 number_1 (Union[Unset, float, int]): Custom number index 1 number_2 (Union[Unset, float, int]): Custom number index 2
Method generated by attrs for class DataSchema.
Data stored at this path
Represents a single DELETE in a bulk request
Attributes: paths (List[str]): Paths to delete cascade (Union[Unset, bool]): Whether to delete all child paths
Info on one specific device
Attributes: device (DeviceSchema): Which Device fields to include in response bodies
List of devices
Attributes: devices (Union[Unset, List['DeviceSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class DeviceList.
Which Device fields to include in response bodies
Attributes: name (str): locale (str): zoneinfo (str): id (str): ID of the account created_date (datetime.datetime): UTC datetime the account was created tags (List[str]): Tags for this device open_tunnels (List['Tunnel']): List of open tunnels to this device custom_attributes (DeviceSchemaCustomAttributes): Custom attributes for this device restricted_custom_attributes (DeviceSchemaRestrictedCustomAttributes): Custom attributes only admins can update iot_scopes (DeviceSchemaIotScopes): PubSub permissions per IoT scope for this device is_delete_protected (Union[Unset, bool]): Default: False. manufacturer (Union[Unset, str]): product (Union[Unset, str]): site (Union[Unset, str]): serial_number (Union[Unset, str]): mac_address (Union[Unset, str]): is_org_admin (Union[Unset, bool]): Default: False. picture (Union[Unset, str]): picture_base64 (Union[Unset, str]): picture_content_type (Union[Unset, str]): project_id (Union[Unset, str]): ID of the project this group belongs to, if any is_project_admin (Union[Unset, bool]): Whether this user is a project admin, only visible in project scope is_group_admin (Union[Unset, bool]): Whether this user is a group admin, only visible when filtered by group created_by (Union[Unset, str]): ID of the user who created this account last_updated_by (Union[Unset, str]): ID of the user who last updated this account last_updated_date (Union[Unset, datetime.datetime]): UTC datetime the account was last updated api_key_last_changed (Union[Unset, datetime.datetime]): UTC datetime the API key was last changed mqtt_credentials_last_changed (Union[Unset, datetime.datetime]): UTC datetime the MQTT credentials were last changed last_seen (Union[Unset, datetime.datetime]): UTC datetime the device was last seen owner_id (Union[Unset, str]): ID of the device owner project_ids (Union[Unset, List[str]]): Projects they belong to, individual devices only group_ids (Union[Unset, List[str]]): Groups they belong to, individual devices only role_ids (Union[Unset, List[str]]): Roles they belong to, individual devices only project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access
Method generated by attrs for class DeviceSchema.
Custom attributes for this device
PubSub permissions per IoT scope for this device
Custom attributes only admins can update
Info on one specific email template
Attributes: template (EmailTemplateSchema): Which Template fields to include in response bodies
Method generated by attrs for class EmailTemplateInfo.
List of email templates
Attributes: templates (Union[Unset, List['EmailTemplateSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class EmailTemplateList.
Which Template fields to include in response bodies
Attributes: id (str): ID of the template is_delete_protected (bool): This must be set false before the template can be deleted is_active (bool): If false, all template operations are disabled created_date (datetime.datetime): Date and time the template was created created_by (str): ID of the user who created the template tags (List[str]): List of tags on this template name (str): Name of the template subject (str): Subject of the template body_txt (str): Plain text body of the template body_html (str): HTML body of the template locale (str): Locale for the template custom_args (List[str]): List of custom arguments on this template for_account_recovery (bool): If true, the template is used for forgot password emails for_new_users (bool): If true, the template is used for new user emails last_updated_by (Union[Unset, str]): ID of the user who last updated the template last_updated_date (Union[Unset, datetime.datetime]): Date and time the template was last updated from_address (Union[Unset, str]): From email address to use with this template description (Union[Unset, str]): Description of the template project_id (Union[Unset, str]): ID of the project this template belongs to, if any
Method generated by attrs for class EmailTemplateSchema.
List of file info
Attributes: url (Union[Unset, str]): Pre-signed S3 URL urls (Union[Unset, List[str]]): List of pre-signed S3 URLs paths (Union[Unset, List[str]]): object_count (Union[Unset, int]): last_evaluated_key (Union[Unset, FilesAtPathLastEvaluatedKey]): file (Union[Unset, FileSchema]): File info fields to include in the response bodies files (Union[Unset, List['FileSchema']]): List of file info
Method generated by attrs for class FilesAtPath.
File info fields to include in the response bodies
Attributes: path (str): Path this file is stored at filename (str): Filename of file created_by (str): ID of the user who created the file created_date (datetime.datetime): Date and time the file was created revision (int): Revison number of the data entry unicode_1 (Union[Unset, str]): Custom unicode index 1 unicode_2 (Union[Unset, str]): Custom unicode index 2 unicode_3 (Union[Unset, str]): Custom unicode index 3 unicode_4 (Union[Unset, str]): Custom unicode index 4 unicode_5 (Union[Unset, str]): Custom unicode index 5 unicode_6 (Union[Unset, str]): Custom unicode index 6 number_1 (Union[Unset, float, int]): Custom number index 1 number_2 (Union[Unset, float, int]): Custom number index 2 expires_in (Union[Unset, int]): Number of seconds before presigned URLs expire Default: 3600. content_type (Union[Unset, str]): Optionally specify the content type of the file you will upload num_parts (Union[Unset, int]): Number of parts to upload completed_upload_id (Union[Unset, str]): ID of completed multipart upload to merge etag_by_part (Union[Unset, FileSchemaEtagByPart]): List of ETags for each part of the multipart upload url (Union[Unset, str]): Pre-signed GET URL size (Union[Unset, int]): Size of file in bytes etag (Union[Unset, str]): ETag of file uploaded_date (Union[Unset, datetime.datetime]): Date and time the file was uploaded updated_by_list (Union[Unset, List[str]]): List of account IDs for most recent editors updated_date_list (Union[Unset, List[datetime.datetime]]): List of dates for most recent edits
Method generated by attrs for class FileSchema.
List of ETags for each part of the multipart upload
File pre-signed GET URL, the format used when url_only is true
Attributes: upload_id (Union[Unset, str]): ID of a multipart upload url (Union[Unset, str]): Pre-signed S3 URL urls (Union[Unset, List[str]]): List of pre-signed S3 URLs
Represents a single GET in a bulk request
Attributes: paths (List[str]): Paths to get cascade (Union[Unset, bool]): If true, return all paths starting with the specified path paths_only (Union[Unset, bool]): If true, only return list of matching file paths object_count (Union[Unset, bool]): If true, only return the number of objects in the file desc (Union[Unset, bool]): Whether to order results in descending order bust_cache (Union[Unset, bool]): Whether to bypass the cache and get the latest data limit (Union[Unset, int]): Maximum number of results to return Default: 100. order_by (Union[Unset, str]): Field to order results by last_evaluated_key (Union['GetDataJobLastEvaluatedKeyType0', Unset, str]): Key to start results from search (Union[Unset, str]): Search term to filter accounts by search_fields (Union[Unset, str]): Fields to search in path_filter (Union[Unset, str]): Regex pattern to match result paths against created_by (Union[Unset, str]): ID of the user who created the entry last_updated_by (Union[Unset, str]): ID of the user who last updated the entry created_date (Union[Unset, datetime.datetime]): Created date of items to return created_date_gte (Union[Unset, datetime.datetime]): created_date_lte (Union[Unset, datetime.datetime]): last_updated_date (Union[Unset, datetime.datetime]): Last edited date of items to return last_updated_date_gte (Union[Unset, datetime.datetime]): last_updated_date_lte (Union[Unset, datetime.datetime]): unicode_1 (Union[Unset, str]): Custom unicode index 1 unicode_1_sw (Union[Unset, str]): unicode_1_contains (Union[Unset, str]): unicode_1_gte (Union[Unset, str]): unicode_1_lte (Union[Unset, str]): unicode_2 (Union[Unset, str]): Custom unicode index 2 unicode_2_sw (Union[Unset, str]): unicode_2_contains (Union[Unset, str]): unicode_2_gte (Union[Unset, str]): unicode_2_lte (Union[Unset, str]): unicode_3 (Union[Unset, str]): Custom unicode index 3 unicode_3_sw (Union[Unset, str]): unicode_3_contains (Union[Unset, str]): unicode_3_gte (Union[Unset, str]): unicode_3_lte (Union[Unset, str]): unicode_4 (Union[Unset, str]): Custom unicode index 4 unicode_4_sw (Union[Unset, str]): unicode_4_contains (Union[Unset, str]): unicode_4_gte (Union[Unset, str]): unicode_4_lte (Union[Unset, str]): unicode_5 (Union[Unset, str]): Custom unicode index 5 unicode_5_sw (Union[Unset, str]): unicode_5_contains (Union[Unset, str]): unicode_5_gte (Union[Unset, str]): unicode_5_lte (Union[Unset, str]): unicode_6 (Union[Unset, str]): Custom unicode index 6 unicode_6_sw (Union[Unset, str]): unicode_6_contains (Union[Unset, str]): unicode_6_gte (Union[Unset, str]): unicode_6_lte (Union[Unset, str]): number_1 (Union[Unset, float]): Custom number index 1 number_1_gt (Union[Unset, float]): number_1_gte (Union[Unset, float]): number_1_lt (Union[Unset, float]): number_1_lte (Union[Unset, float]): number_2 (Union[Unset, float]): Custom number index 2 number_2_gt (Union[Unset, float]): number_2_gte (Union[Unset, float]): number_2_lt (Union[Unset, float]): number_2_lte (Union[Unset, float]): verify (Union[Unset, bool]): Whether to verify the signature on the item unicode_7 (Union[Unset, str]): Custom unicode index 7 unicode_7_sw (Union[Unset, str]): unicode_7_contains (Union[Unset, str]): unicode_7_gte (Union[Unset, str]): unicode_7_lte (Union[Unset, str]): unicode_8 (Union[Unset, str]): Custom unicode index 8 unicode_8_sw (Union[Unset, str]): unicode_8_contains (Union[Unset, str]): unicode_8_gte (Union[Unset, str]): unicode_8_lte (Union[Unset, str]): unicode_9 (Union[Unset, str]): Custom unicode index 9 unicode_9_sw (Union[Unset, str]): unicode_9_contains (Union[Unset, str]): unicode_9_gte (Union[Unset, str]): unicode_9_lte (Union[Unset, str]): unicode_10 (Union[Unset, str]): Custom unicode index 10 unicode_10_sw (Union[Unset, str]): unicode_10_contains (Union[Unset, str]): unicode_10_gte (Union[Unset, str]): unicode_10_lte (Union[Unset, str]):
Method generated by attrs for class GetDataJob.
Access for a group
Attributes: group_access (GroupAccessSchema): Access for a group
Method generated by attrs for class GroupAccessInfo.
Access for a group
Attributes: is_delete_protected (bool): This must be set false before the access can be deleted created_date (datetime.datetime): Date and time the access was created can_read (bool): If true, the account can read this access can_update (bool): If true, the account can update this access user_permissions (CRUDPermissions): Collection of CRUD permissions device_permissions (CRUDPermissions): Collection of CRUD permissions tags (List[str]): List of tags on this access object group_id (str): ID of the group that has access grantee_id (str): ID of the account that has access is_admin (bool): If true, the account has admin access role_permissions (CRUDPermissions): Collection of CRUD permissions last_updated_date (Union[Unset, datetime.datetime]): Date and time the access was last updated created_by (Union[Unset, str]): ID of the account that created this access last_updated_by (Union[Unset, str]): ID of the account that last updated this access
Method generated by attrs for class GroupAccessSchema.
Info on one specific group
Attributes: group (GroupSchema): Which Group fields to include in response bodies
List of groups
Attributes: groups (Union[Unset, List['GroupSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class GroupList.
Which Group fields to include in response bodies
Attributes: id (str): ID of the group name (str): Name of the group description (str): Description of the group is_delete_protected (bool): This must be set false before the group can be deleted is_active (bool): If false, all group operations are disabled created_date (datetime.datetime): Date and time the group was created last_updated_by (str): ID of the account that last updated the group tags (List[str]): List of tags on this group num_history (int): Number of history entries to keep on rolling list attributes role_delete_protection_on_by_default (bool): If true, new roles attached to this group will have delete protection enabled if not specified at creation require_delete_permission_to_put_data (bool): If true, require delete permission to put data project_id (Union[Unset, str]): ID of the project this group belongs to, if any last_updated_date (Union[Unset, datetime.datetime]): Date and time the group was last updated created_by (Union[Unset, str]): ID of the account that created the group
Method generated by attrs for class GroupSchema.
Health status of the system
Attributes: status (str): Status of the system
Configuration for the user interface
Attributes: images (Union[Unset, InterfaceImages]): Logos for the user interface primary_color (Union[Unset, str]): Primary color for the dashboard use_dark_mode (Union[Unset, bool]): Use dark mode for the dashboard
Method generated by attrs for class InterfaceConfig.
Logos for the user interface
Attributes: logo_default (Union[Unset, str]): URL of the default logo logo_small (Union[Unset, str]): URL of the small logo login_background (Union[Unset, str]): URL of the login background image favicon (Union[Unset, str]): URL of the favicon
JSON Web Key Set
Attributes: keys (List['JwksKeysItem']): List of JSON Web Keys
MFA secret code
Attributes: secret_code (str): MFA secret code session (Union[Unset, str]): Session to use for adding software MFA
Info on a new API key
Attributes: api_key (str): API key for this device - ONLY SHOWN ONCE, NOT STORED
Info on one specific device
Attributes: device (NewDeviceSchema): Which Device fields to include in response bodies
Which Device fields to include in response bodies
Attributes: id (str): ID of the newly created device api_key (str): API key for this device - ONLY SHOWN ONCE, NOT STORED certificate (str): PEM-encoded certificate for this device root_ca (str): URL for the root CA certificate, which is in PEM format public_key (str): Public key for this device private_key (str): Private key for this device broker (str): Domain of the MQTT broker, does not include protocol or port root_scope (str): Root MQTT scope for topics this device can utilize owner_id (Union[Unset, str]): ID of the device owner
Info on one specific email template
Attributes: template (NewEmailTemplateSchema): Which Template fields to include in response bodies
Method generated by attrs for class NewEmailTemplateInfo.
Which Template fields to include in response bodies
Attributes: id (str): ID of the newly created template
Info on one specific group
Attributes: group (NewGroupSchema): Which Group fields to include in response bodies
Which Group fields to include in response bodies
Attributes: id (str): ID of the group
"Info on new MQTT credentials
Attributes: certificate (str): PEM-encoded certificate for this device root_ca (str): URL for the root CA certificate, which is in PEM format public_key (str): Public key for this device private_key (str): Private key for this device broker (str): Domain of the MQTT broker, does not include protocol or port root_scope (str): Root MQTT scope for topics this device can utilize
Info on one specific project
Attributes: project (NewProjectSchema): Which Project fields to include in response bodies
Which Project fields to include in response bodies
Attributes: id (str): ID of the project
Info on one specific role
Attributes: role (NewRoleSchema): Which Role fields to include in request bodies
Which Role fields to include in request bodies
Attributes: id (str): ID of the role
Info on one specific tunnel
Attributes: tunnel (NewTunnelSchema): Info on one specific tunnel
Info on one specific tunnel
Attributes: uuid (str): timeout (int): client_access_token (str):
Info on newly created user
Attributes: user (NewUserSchema): New user schema
New user schema
Attributes: id (str): ID of the user
Collection of permissions for org access
Attributes: can_update (Union[Unset, bool]): Default: False. can_read (Union[Unset, bool]): Default: False. user_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions device_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions role_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions is_admin (Union[Unset, bool]): Default: False. group_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions project_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions
Method generated by attrs for class OrgAccessPermissions.
Access for an organization
Attributes: is_delete_protected (bool): This must be set false before the access can be deleted created_date (datetime.datetime): Date and time the access was created can_read (bool): If true, the account can read this access can_update (bool): If true, the account can update this access user_permissions (CRUDPermissions): Collection of CRUD permissions device_permissions (CRUDPermissions): Collection of CRUD permissions tags (List[str]): List of tags on this access object org_id (str): ID of the organization that has access grantee_id (str): ID of the account that has access is_admin (bool): If true, the account has admin access role_permissions (CRUDPermissions): Collection of CRUD permissions group_permissions (CRUDPermissions): Collection of CRUD permissions project_permissions (CRUDPermissions): Collection of CRUD permissions last_updated_date (Union[Unset, datetime.datetime]): Date and time the access was last updated created_by (Union[Unset, str]): ID of the account that created this access last_updated_by (Union[Unset, str]): ID of the account that last updated this access
Method generated by attrs for class OrgAccessSchema.
Information about a specific organization
Attributes: org (OrgSchema): Organization model schema
Organization model schema
Attributes: name (str): created_date (datetime.datetime): id (str): ID of the account alias (Union[Unset, str]): description (Union[Unset, str]): Default: ''. allowed_login_fields (Union[Unset, OrgSchemaAllowedLoginFields]): mfa_required (Union[Unset, bool]): Default: False. custom_settings (Union[Unset, OrgSchemaCustomSettings]): device_owners_have_admin_access (Union[Unset, bool]): Default: False. device_owners_can_tunnel (Union[Unset, bool]): Default: False. device_creators_are_owners_by_default (Union[Unset, bool]): Default: False. project_delete_protection_on_by_default (Union[Unset, bool]): Default: False. group_delete_protection_on_by_default (Union[Unset, bool]): Default: False. role_delete_protection_on_by_default (Union[Unset, bool]): Default: False. user_delete_protection_on_by_default (Union[Unset, bool]): Default: False. device_delete_protection_on_by_default (Union[Unset, bool]): Default: False. is_delete_protected (Union[Unset, bool]): Default: False. is_active (Union[Unset, bool]): Default: True. last_updated_date (Union[Unset, datetime.datetime]): default_locale (Union[Unset, str]): Default: 'en-US'. default_from_address (Union[Unset, str]): Default: 'no-reply@cyphermed.cloud'. reset_token_expire_hours (Union[Unset, int]): Default: 24. access_token_expire_hours (Union[Unset, int]): Default: 1. refresh_token_expire_hours (Union[Unset, int]): Default: 24. session_expire_mins (Union[Unset, int]): Default: 5. pii_admin_only (Union[Unset, bool]): Default: False. ui_config (Union[Unset, OrgSchemaUiConfig]): use_legacy_data_and_files_permissions (Union[Unset, bool]): Default: False. groups_require_delete_permission_to_put_data_by_default (Union[Unset, bool]): Default: False.
Method generated by attrs for class OrgSchema.
Update group data
Attributes: unicode_1 (Union[Unset, str]): Custom unicode index 1 unicode_2 (Union[Unset, str]): Custom unicode index 2 unicode_3 (Union[Unset, str]): Custom unicode index 3 unicode_4 (Union[Unset, str]): Custom unicode index 4 unicode_5 (Union[Unset, str]): Custom unicode index 5 unicode_6 (Union[Unset, str]): Custom unicode index 6 unicode_7 (Union[Unset, str]): Custom unicode index 7 unicode_8 (Union[Unset, str]): Custom unicode index 8 unicode_9 (Union[Unset, str]): Custom unicode index 9 unicode_10 (Union[Unset, str]): Custom unicode index 10 number_1 (Union[Unset, float, int]): Custom number index 1 number_2 (Union[Unset, float, int]): Custom number index 2 value (Union['PatchDataBodyValueType0', Unset, str]): Data value to store at this path
Method generated by attrs for class PatchDataBody.
Represents a single PATCH in a bulk request
Attributes: paths (List[str]): Paths to update unicode_1 (Union[Unset, str]): Custom unicode index 1 unicode_2 (Union[Unset, str]): Custom unicode index 2 unicode_3 (Union[Unset, str]): Custom unicode index 3 unicode_4 (Union[Unset, str]): Custom unicode index 4 unicode_5 (Union[Unset, str]): Custom unicode index 5 unicode_6 (Union[Unset, str]): Custom unicode index 6 unicode_7 (Union[Unset, str]): Custom unicode index 7 unicode_8 (Union[Unset, str]): Custom unicode index 8 unicode_9 (Union[Unset, str]): Custom unicode index 9 unicode_10 (Union[Unset, str]): Custom unicode index 10 number_1 (Union[Unset, float, int]): Custom number index 1 number_2 (Union[Unset, float, int]): Custom number index 2 value (Union['PatchDataJobValueType0', Unset, str]): Data value to store at this path
Method generated by attrs for class PatchDataJob.
Update a device
Attributes: owner_id (Union[Unset, str]): ID of the device owner name (Union[Unset, str]): Name of the device manufacturer (Union[Unset, str]): Device manufacturer product (Union[Unset, str]): Product name site (Union[Unset, str]): Location of this device serial_number (Union[Unset, str]): Device serial number mac_address (Union[Unset, str]): MAC address of this device is_active (Union[Unset, bool]): (Admin only) Whether this device is active is_delete_protected (Union[Unset, bool]): Whether this device is delete protected locale (Union[Unset, str]): Locale of the device zoneinfo (Union[Unset, str]): Timezone of the device picture (Union[Unset, str]): URL of the device's picture tags (Union[Unset, List[str]]): List of tags on this account project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access custom_attributes (Union[Unset, PatchDeviceBodyCustomAttributes]): Custom attributes for this user restricted_custom_attributes (Union[Unset, PatchDeviceBodyRestrictedCustomAttributes]): Custom attributes only admins can update iot_scopes (Union[Unset, PatchDeviceBodyIotScopes]): PubSub permissions per IoT scope for this device
Method generated by attrs for class PatchDeviceBody.
Custom attributes for this user
PubSub permissions per IoT scope for this device
Custom attributes only admins can update
Which Template fields to include in request bodies
Attributes: from_address (Union[Unset, str]): From email address to use with this template description (Union[Unset, str]): Description of the template project_id (Union[Unset, str]): ID of the project this template belongs to, if any is_delete_protected (Union[Unset, bool]): This must be set false before the template can be deleted tags (Union[Unset, List[str]]): List of tags on this template custom_args (Union[Unset, List[str]]): List of custom arguments on this template for_account_recovery (Union[Unset, bool]): If true, the template is used for forgot password emails for_new_users (Union[Unset, bool]): If true, the template is used for new user emails locale (Union[Unset, str]): Locale for the template, defaults to project or org locale name (Union[Unset, str]): Name of the template subject (Union[Unset, str]): Subject of the template body_txt (Union[Unset, str]): Plain text body of the template body_html (Union[Unset, str]): HTML body of the template is_active (Union[Unset, bool]): If false, all template operations are disabled
Method generated by attrs for class PatchEmailTemplateBody.
Which File fields to include in PATCH request bodies
Attributes: unicode_1 (Union[Unset, str]): Custom unicode index 1 unicode_2 (Union[Unset, str]): Custom unicode index 2 unicode_3 (Union[Unset, str]): Custom unicode index 3 unicode_4 (Union[Unset, str]): Custom unicode index 4 unicode_5 (Union[Unset, str]): Custom unicode index 5 unicode_6 (Union[Unset, str]): Custom unicode index 6 number_1 (Union[Unset, float, int]): Custom number index 1 number_2 (Union[Unset, float, int]): Custom number index 2 size (Union[Unset, int]): Size of file in bytes uploaded_date (Union[Unset, datetime.datetime]): Uploaded date of files to return etag (Union[Unset, str]): ETag of file
Method generated by attrs for class PatchFilesBody.
Which GroupAccess fields to include in PATCH request bodies
Attributes: is_delete_protected (Union[Unset, bool]): This must be set false before the access can be deleted tags (Union[Unset, List[str]]): List of tags on this access object user_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions device_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions can_read (Union[Unset, bool]): If true, the grantee can read the target resource can_update (Union[Unset, bool]): If true, the grantee can update the target resource role_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions is_admin (Union[Unset, bool]): If true, the grantee has admin access to the group data_paths (Union[Unset, PatchGroupAccessBodyDataPaths]): Dictionary of accessible data paths and their CRUD permissions file_paths (Union[Unset, PatchGroupAccessBodyFilePaths]): Dictionary of accessible file paths and their CRUD permissions is_active (Union[Unset, bool]): If false, all group access operations are disabled
Method generated by attrs for class PatchGroupAccessBody.
Dictionary of accessible data paths and their CRUD permissions
Dictionary of accessible file paths and their CRUD permissions
Which Group fields to include in PATCH request bodies
Attributes: description (Union[Unset, str]): Description of the group is_delete_protected (Union[Unset, bool]): This must be set false before the group can be deleted tags (Union[Unset, List[str]]): List of tags on this group require_delete_permission_to_put_data (Union[Unset, bool]): (Admin only) If true, require delete permission to put data name (Union[Unset, str]): Name of the group is_active (Union[Unset, bool]): Whether this group is active
Method generated by attrs for class PatchGroupBody.
Settings admins can update on their org
Attributes: name (Union[Unset, str]): Organization name description (Union[Unset, str]): Organization description device_owners_have_admin_access (Union[Unset, bool]): Device owners have admin access device_owners_can_tunnel (Union[Unset, bool]): Device owners can open tunnels device_creators_are_owners_by_default (Union[Unset, bool]): Device creators are owners by default project_delete_protection_on_by_default (Union[Unset, bool]): (Org admins only) Delete protection is on by default for new projects group_delete_protection_on_by_default (Union[Unset, bool]): Delete protection is on by default for new groups user_delete_protection_on_by_default (Union[Unset, bool]): Delete protection is on by default for new users device_delete_protection_on_by_default (Union[Unset, bool]): Delete protection is on by default for new devices mfa_required (Union[Unset, bool]): MFA is required for all users custom_settings (Union[Unset, PatchOrgSettingsBodyCustomSettings]): Dictionary of custom organization settings default_locale (Union[Unset, str]): Default locale for the organization default_from_address (Union[Unset, str]): Default from address for the organization reset_token_expire_hours (Union[Unset, int]): Number of hours reset tokens are valid (1-168) access_token_expire_hours (Union[Unset, int]): Number of hours access tokens are valid (1-24) refresh_token_expire_hours (Union[Unset, int]): Number of hours refresh tokens are valid (1-8760) session_expire_mins (Union[Unset, int]): Number of mins sessions are valid (3-15) pii_admin_only (Union[Unset, bool]): Only admins can view personally identifiable info is_delete_protected (Union[Unset, bool]): This must be set false before the org/project can be deleted
Method generated by attrs for class PatchOrgSettingsBody.
Dictionary of custom organization settings
Which ProjectAccess fields to include in POST request bodies
Attributes: is_delete_protected (Union[Unset, bool]): This must be set false before the access can be deleted tags (Union[Unset, List[str]]): List of tags on this access object user_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions device_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions can_read (Union[Unset, bool]): If true, the grantee can read the target resource can_update (Union[Unset, bool]): If true, the grantee can update the target resource group_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions role_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions is_admin (Union[Unset, bool]): If true, the grantee has admin access to the project is_active (Union[Unset, bool]): If false, all project operations are disabled
Method generated by attrs for class PatchProjectAccessBody.
Patch project body
Attributes: alias (Union[Unset, str]): Unique alias for the project description (Union[Unset, str]): Description of the project is_delete_protected (Union[Unset, bool]): Must be false before the project can be deleted tags (Union[Unset, List[str]]): List of tags on this project reset_token_expire_hours (Union[Unset, int]): Number of hours reset tokens are valid (1-168) group_delete_protection_on_by_default (Union[Unset, bool]): If true, groups are delete-protected by default role_delete_protection_on_by_default (Union[Unset, bool]): If true, roles are delete-protected by default access_token_expire_hours (Union[Unset, int]): Number of hours access tokens are valid (1-24) refresh_token_expire_hours (Union[Unset, int]): Number of hours refresh tokens are valid (1-8760) session_expire_mins (Union[Unset, int]): Number of mins sessions are valid (3-15) ui_config (Union[Unset, InterfaceConfig]): Configuration for the user interface use_legacy_data_and_files_permissions (Union[Unset, bool]): If true, use legacy data and files permissions groups_require_delete_permission_to_put_data_by_default (Union[Unset, bool]): If true, groups require delete permission to delete data by default name (Union[Unset, str]): Name of the project is_active (Union[Unset, bool]): If false, all project operations are disabled default_locale (Union[Unset, str]): Default locale for the organization default_from_address (Union[Unset, str]): Default from address
Method generated by attrs for class PatchProjectBody.
Settings admins can update on their project
Attributes: name (Union[Unset, str]): Organization name description (Union[Unset, str]): Organization description device_owners_have_admin_access (Union[Unset, bool]): Device owners have admin access device_owners_can_tunnel (Union[Unset, bool]): Device owners can open tunnels device_creators_are_owners_by_default (Union[Unset, bool]): Device creators are owners by default group_delete_protection_on_by_default (Union[Unset, bool]): Delete protection is on by default for new groups user_delete_protection_on_by_default (Union[Unset, bool]): Delete protection is on by default for new users device_delete_protection_on_by_default (Union[Unset, bool]): Delete protection is on by default for new devices custom_settings (Union[Unset, PatchProjectSettingsBodyCustomSettings]): Dictionary of custom organization settings default_locale (Union[Unset, str]): Default locale for the organization default_from_address (Union[Unset, str]): Default from address for the organization pii_admin_only (Union[Unset, bool]): Only admins can view personally identifiable info is_delete_protected (Union[Unset, bool]): This must be set false before the org/project can be deleted reset_token_expire_hours (Union[Unset, int]): Number of hours reset tokens are valid (1-168) access_token_expire_hours (Union[Unset, int]): Number of hours access tokens are valid (1-24) refresh_token_expire_hours (Union[Unset, int]): Number of hours refresh tokens are valid (1-8760) session_expire_mins (Union[Unset, int]): Number of mins sessions are valid (3-15)
Method generated by attrs for class PatchProjectSettingsBody.
Dictionary of custom organization settings
Which RoleAccess fields to include in request bodies
Attributes: is_delete_protected (Union[Unset, bool]): This must be set false before the access can be deleted tags (Union[Unset, List[str]]): List of tags on this access object user_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions device_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions can_read (Union[Unset, bool]): If true, the grantee can read the target resource can_update (Union[Unset, bool]): If true, the grantee can update the target resource is_active (Union[Unset, bool]): If false, all role access operations are disabled
Method generated by attrs for class PatchRoleAccessBody.
Which Role fields to include in request bodies
Attributes: description (Union[Unset, str]): Description of the role is_delete_protected (Union[Unset, bool]): This must be set false before the role can be deleted tags (Union[Unset, List[str]]): List of tags on this role org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access custom_attributes (Union[Unset, PatchRoleBodyCustomAttributes]): Custom attributes for this user restricted_custom_attributes (Union[Unset, PatchRoleBodyRestrictedCustomAttributes]): Custom attributes only admins can update name (Union[Unset, str]): Name of the role is_active (Union[Unset, bool]): If false, all role operations are disabled
Method generated by attrs for class PatchRoleBody.
Custom attributes for this user
Custom attributes only admins can update
Patch user body
Attributes: username (Union[Unset, str]): Username of the user email (Union[Unset, str]): Email of the user phone_number (Union[Unset, str]): Phone number of the user is_delete_protected (Union[Unset, bool]): Whether this user is delete protected is_active (Union[Unset, bool]): Whether this user is active tags (Union[Unset, List[str]]): Tags for this user locale (Union[Unset, str]): Locale of the user zoneinfo (Union[Unset, str]): Zoneinfo of the user picture (Union[Unset, str]): URL of the user's picture nickname (Union[Unset, str]): Nickname of the user first_name (Union[Unset, str]): First (or given) name of the user middle_name (Union[Unset, str]): Middle name of the user last_name (Union[Unset, str]): Last (or family) name of the user project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access custom_attributes (Union[Unset, PatchUserBodyCustomAttributes]): Custom attributes for this user restricted_custom_attributes (Union[Unset, PatchUserBodyRestrictedCustomAttributes]): Custom attributes only admins can update
Method generated by attrs for class PatchUserBody.
Custom attributes for this user
Custom attributes only admins can update
Info on one specific project access
Attributes: project_access (ProjectAccessSchema): Which Project fields to include in response bodies
Method generated by attrs for class ProjectAccessInfo.
Collection of permissions for project access
Attributes: can_update (Union[Unset, bool]): Default: False. can_read (Union[Unset, bool]): Default: False. user_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions device_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions role_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions is_admin (Union[Unset, bool]): Default: False. group_permissions (Union[Unset, CRUDPermissions]): Collection of CRUD permissions
Method generated by attrs for class ProjectAccessPermissions.
Which Project fields to include in response bodies
Attributes: is_delete_protected (bool): This must be set false before the access can be deleted created_date (datetime.datetime): Date and time the access was created can_read (bool): If true, the account can read this access can_update (bool): If true, the account can update this access user_permissions (CRUDPermissions): Collection of CRUD permissions device_permissions (CRUDPermissions): Collection of CRUD permissions tags (List[str]): List of tags on this access object project_id (str): ID of the project grantee_id (str): ID of the account that has access to the project is_admin (bool): If true, the account has admin access to the project group_permissions (CRUDPermissions): Collection of CRUD permissions role_permissions (CRUDPermissions): Collection of CRUD permissions last_updated_date (Union[Unset, datetime.datetime]): Date and time the access was last updated created_by (Union[Unset, str]): ID of the account that created this access last_updated_by (Union[Unset, str]): ID of the account that last updated this access
Method generated by attrs for class ProjectAccessSchema.
Info on one specific project
Attributes: project (ProjectSchema): Which Project fields to include in response bodies
List of projects
Attributes: projects (Union[Unset, List['ProjectSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class ProjectList.
Which Project fields to include in response bodies
Attributes: name (str): created_date (datetime.datetime): id (str): ID of the project tags (List[str]): List of tags on this project ui_config (InterfaceConfig): Configuration for the user interface alias (Union[Unset, str]): description (Union[Unset, str]): Default: ''. allowed_login_fields (Union[Unset, ProjectSchemaAllowedLoginFields]): custom_settings (Union[Unset, ProjectSchemaCustomSettings]): device_owners_have_admin_access (Union[Unset, bool]): Default: False. device_owners_can_tunnel (Union[Unset, bool]): Default: False. device_creators_are_owners_by_default (Union[Unset, bool]): Default: False. group_delete_protection_on_by_default (Union[Unset, bool]): Default: False. role_delete_protection_on_by_default (Union[Unset, bool]): Default: False. is_delete_protected (Union[Unset, bool]): Default: False. is_active (Union[Unset, bool]): Default: True. last_updated_date (Union[Unset, datetime.datetime]): default_locale (Union[Unset, str]): default_from_address (Union[Unset, str]): reset_token_expire_hours (Union[Unset, int]): Default: 24. access_token_expire_hours (Union[Unset, int]): Default: 1. refresh_token_expire_hours (Union[Unset, int]): Default: 24. session_expire_mins (Union[Unset, int]): Default: 5. pii_admin_only (Union[Unset, bool]): Default: False. use_legacy_data_and_files_permissions (Union[Unset, bool]): Default: False. groups_require_delete_permission_to_put_data_by_default (Union[Unset, bool]): Default: False.
Method generated by attrs for class ProjectSchema.
Publish/subscribe permissions for a given scope
Attributes: can_publish (Union[Unset, bool]): Default: False. can_subscribe (Union[Unset, bool]): Default: False.
Which File fields to include in PUT request bodies
Attributes: unicode_1 (Union[Unset, str]): Custom unicode index 1 unicode_2 (Union[Unset, str]): Custom unicode index 2 unicode_3 (Union[Unset, str]): Custom unicode index 3 unicode_4 (Union[Unset, str]): Custom unicode index 4 unicode_5 (Union[Unset, str]): Custom unicode index 5 unicode_6 (Union[Unset, str]): Custom unicode index 6 number_1 (Union[Unset, float, int]): Custom number index 1 number_2 (Union[Unset, float, int]): Custom number index 2 expires_in (Union[Unset, int]): Number of seconds before presigned URLs expire Default: 3600. content_type (Union[Unset, str]): Optionally specify the content type of the file you will upload num_parts (Union[Unset, int]): Number of parts to upload completed_upload_id (Union[Unset, str]): ID of completed multipart upload to merge etag_by_part (Union[Unset, PutFilesBodyEtagByPart]): List of ETags for each part of the multipart upload
Method generated by attrs for class PutFilesBody.
List of ETags for each part of the multipart upload
Info on one specific role access
Attributes: role_access (RoleAccessSchema): Role access schema
Role access schema
Attributes: is_delete_protected (bool): This must be set false before the access can be deleted created_date (datetime.datetime): Date and time the access was created can_read (bool): If true, the account can read this access can_update (bool): If true, the account can update this access user_permissions (CRUDPermissions): Collection of CRUD permissions device_permissions (CRUDPermissions): Collection of CRUD permissions tags (List[str]): List of tags on this access object role_id (str): ID of the role that has access account_id (str): ID of the account that has access to the role last_updated_date (Union[Unset, datetime.datetime]): Date and time the access was last updated created_by (Union[Unset, str]): ID of the account that created this access last_updated_by (Union[Unset, str]): ID of the account that last updated this access
Method generated by attrs for class RoleAccessSchema.
List of group access for the target role
Attributes: group_access (Union[Unset, List['AccountGroupAccessSchema']]): group_ids (Union[Unset, List[str]]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class RoleGroupAccessList.
Info on one specific role
Attributes: role (RoleSchema): Which Role fields to include in response bodies
List of roles
Attributes: roles (Union[Unset, List['RoleSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class RoleList.
Organization access info for the target role
Attributes: org_access (OrgAccessSchema): Access for an organization
Method generated by attrs for class RoleOrgAccessInfo.
List of project access for the target role
Attributes: project_access (Union[Unset, List['AccountProjectAccessSchema']]): project_ids (Union[Unset, List[str]]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class RoleProjectAccessList.
Which Role fields to include in response bodies
Attributes: id (str): ID of the role name (str): Name of the role description (str): Description of the role is_delete_protected (bool): This must be set false before the role can be deleted is_org_admin (bool): Whether this user is an org admin tags (List[str]): Tags for this role created_date (datetime.datetime): UTC datetime the account was created restricted_custom_attributes (RoleSchemaRestrictedCustomAttributes): Custom attributes only admins can update created_by (Union[Unset, str]): ID of the user who created this account last_updated_by (Union[Unset, str]): ID of the user who last updated this account last_updated_date (Union[Unset, datetime.datetime]): UTC datetime the account was last updated project_id (Union[Unset, str]): ID of the project this group belongs to, if any is_project_admin (Union[Unset, bool]): Whether this user is a project admin, only visible in project scope is_group_admin (Union[Unset, bool]): Whether this user is a group admin, only visible when filtered by group custom_attributes (Union[Unset, RoleSchemaCustomAttributes]): Custom attributes for this user project_ids (Union[Unset, List[str]]): Projects they belong to, individual roles only group_ids (Union[Unset, List[str]]): Groups they belong to, individual roles only project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access
Method generated by attrs for class RoleSchema.
Custom attributes for this user
Custom attributes only admins can update
MFA SMS token success
Attributes: message (Union[Unset, str]): Default: 'SMS MFA successfully enabled'. recovery_code (Union[Unset, str]): SMS MFA recovery code
MFA software token success
Attributes: recovery_code (str): Software MFA recovery code message (Union[Unset, str]): Default: 'Software MFA successfully enabled'. session (Union[Unset, str]): Session to use for answering MFA_SETUP challenge
Success response base schema
Attributes: message (Union[Unset, str]): Success message Default: 'Success'.
Token info
Attributes: access_token (str): Access token token_type (str): Token type expires_in (int): Access token expiration time in seconds refresh_token (Union[Unset, str]): Refresh token
Attributes: uuid (Union[Unset, str]): UUID of the IoT tunnel opened_date (Union[Unset, datetime.datetime]): UTC datetime the tunnel was opened opened_by (Union[Unset, str]): ID of the user who opened the tunnel timeout (Union[Unset, int]): Timeout in seconds for this tunnel
Info on one specific tunnel
Attributes: tunnel (Tunnel):
List of tunnels
Attributes: tunnels (List['Tunnel']):
PUT/PATCH group data
Attributes: value (Union['UploadDataBodyValueType0', str]): Data value to store at this path unicode_1 (Union[Unset, str]): Custom unicode index 1 unicode_2 (Union[Unset, str]): Custom unicode index 2 unicode_3 (Union[Unset, str]): Custom unicode index 3 unicode_4 (Union[Unset, str]): Custom unicode index 4 unicode_5 (Union[Unset, str]): Custom unicode index 5 unicode_6 (Union[Unset, str]): Custom unicode index 6 unicode_7 (Union[Unset, str]): Custom unicode index 7 unicode_8 (Union[Unset, str]): Custom unicode index 8 unicode_9 (Union[Unset, str]): Custom unicode index 9 unicode_10 (Union[Unset, str]): Custom unicode index 10 number_1 (Union[Unset, float, int]): Custom number index 1 number_2 (Union[Unset, float, int]): Custom number index 2
Method generated by attrs for class UploadDataBody.
Represents a single POST in a bulk request
Attributes: value (Union['UploadDataJobValueType0', str]): Data value to store at this path paths (List[str]): Paths to create unicode_1 (Union[Unset, str]): Custom unicode index 1 unicode_2 (Union[Unset, str]): Custom unicode index 2 unicode_3 (Union[Unset, str]): Custom unicode index 3 unicode_4 (Union[Unset, str]): Custom unicode index 4 unicode_5 (Union[Unset, str]): Custom unicode index 5 unicode_6 (Union[Unset, str]): Custom unicode index 6 unicode_7 (Union[Unset, str]): Custom unicode index 7 unicode_8 (Union[Unset, str]): Custom unicode index 8 unicode_9 (Union[Unset, str]): Custom unicode index 9 unicode_10 (Union[Unset, str]): Custom unicode index 10 number_1 (Union[Unset, float, int]): Custom number index 1 number_2 (Union[Unset, float, int]): Custom number index 2
Method generated by attrs for class UploadDataJob.
Info on one specific user
Attributes: user (UserSchema): Which User fields to include in response bodies
List of users
Attributes: users (Union[Unset, List['UserSchema']]): page_count (Union[Unset, int]): object_count (Union[Unset, int]):
Method generated by attrs for class UserList.
Which User fields to include in response bodies
Attributes: locale (str): zoneinfo (str): username (str): email (str): id (str): ID of the account created_date (datetime.datetime): UTC datetime the account was created tags (List[str]): Tags for this user custom_attributes (UserSchemaCustomAttributes): Custom attributes for this user restricted_custom_attributes (UserSchemaRestrictedCustomAttributes): Custom attributes only admins can update mfa_enabled (bool): Whether MFA is enabled for this user sms_mfa_enabled (bool): Whether SMS MFA is enabled for this user software_mfa_enabled (bool): Whether software MFA is enabled for this user is_delete_protected (Union[Unset, bool]): Default: False. picture (Union[Unset, str]): picture_base64 (Union[Unset, str]): picture_content_type (Union[Unset, str]): password_last_changed (Union[Unset, datetime.datetime]): phone_number (Union[Unset, str]): phone_number_verified (Union[Unset, bool]): Default: False. nickname (Union[Unset, str]): first_name (Union[Unset, str]): middle_name (Union[Unset, str]): last_name (Union[Unset, str]): is_org_admin (Union[Unset, bool]): Default: False. new_password_required (Union[Unset, bool]): Default: False. has_temporary_password (Union[Unset, bool]): Default: False. created_by (Union[Unset, str]): ID of the user who created this account last_updated_by (Union[Unset, str]): ID of the user who last updated this account last_updated_date (Union[Unset, datetime.datetime]): UTC datetime the account was last updated last_seen (Union[Unset, datetime.datetime]): UTC datetime the user was last seen preferred_mfa (Union[Unset, str]): Preferred MFA method for this user is_project_admin (Union[Unset, bool]): Whether this user is a project admin, only visible when filtered by project is_group_admin (Union[Unset, bool]): Whether this user is a group admin, only visible when filtered by group project_permissions (Union[Unset, ProjectAccessPermissions]): Collection of permissions for project access org_permissions (Union[Unset, OrgAccessPermissions]): Collection of permissions for org access project_ids (Union[Unset, List[str]]): Projects they belong to, individual users only group_ids (Union[Unset, List[str]]): Groups they belong to, individual users only role_ids (Union[Unset, List[str]]): Roles they belong to, individual users only
Method generated by attrs for class UserSchema.
Custom attributes for this user
Custom attributes only admins can update
Verify account SMS body
Attributes: verification_code (str): Verification code
Version info for the system
Attributes:
version (str): Version of the API, formatted as major.minor.patch
Configuration for a single widget on the dashboard
Attributes: order (int): Order in which to display the widget widget_type (str): Type of widget to display widget_title (str): Title of the widget config (WidgetInfoConfig): Settings for the widget
Method generated by attrs for class WidgetInfo.
Settings for the widget
Collection of permissions, only for write, read, delete
Attributes: can_write (Union[Unset, bool]): Default: False. can_read (Union[Unset, bool]): Default: False. can_update (Union[Unset, bool]): Default: False. can_delete (Union[Unset, bool]): Default: False.