user_api module
UserApi
Parameters
api_client=None
Methods
accept_terms_of_service
Accept Terms of Service
Accept Terms of Service.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
activate_current_user
Activate current user
Activate the current user account (requires an activation code). This function is only available through a JWT token.
Parameters
self
activate_user_or_verify_email_request: edgeimpulse_api.models.activate_user_or_verify_email_request.ActivateUserOrVerifyEmailRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
activate_user
Activate user
Activate a user account (requires an activation code). This function is only available through a JWT token.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
activate_user_or_verify_email_request: edgeimpulse_api.models.activate_user_or_verify_email_request.ActivateUserOrVerifyEmailRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
activate_user_by_third_party_activation_code
Activate user by third party activation code
Activate a user that was created by a third party. This function is only available through a JWT token.
Parameters
self
activate_user_by_third_party_activation_code_request: edgeimpulse_api.models.activate_user_by_third_party_activation_code_request.ActivateUserByThirdPartyActivationCodeRequest
**kwargs
Return
edgeimpulse_api.models.get_jwt_response.GetJWTResponse
change_password_current_user
Change password current user
Change the password for the current user account. This function is only available through a JWT token.
Parameters
self
change_password_request: edgeimpulse_api.models.change_password_request.ChangePasswordRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
change_password_user
Change password
Change the password for a user account. This function is only available through a JWT token.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
change_password_request: edgeimpulse_api.models.change_password_request.ChangePasswordRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
convert_current_user
Convert current evaluation user
Convert current evaluation user account to regular account.
Parameters
self
convert_user_request: edgeimpulse_api.models.convert_user_request.ConvertUserRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
create_developer_profile
Create developer profile
Create a developer profile for the current active user.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.create_developer_profile_response.CreateDeveloperProfileResponse
create_enterprise_trial_user
Create enterprise trial user
Creates an enterprise trial user and a new trial organization, and redirects the user to the new organization.
Parameters
self
create_enterprise_trial_user_request: Annotated[edgeimpulse_api.models.create_enterprise_trial_user_request.CreateEnterpriseTrialUserRequest, FieldInfo(default=Ellipsis, description='Trial request', extra={})]
**kwargs
Return
edgeimpulse_api.models.create_enterprise_trial_response.CreateEnterpriseTrialResponse
create_evaluation_user
Create evaluation user
Creates an evaluation user and a new project, and redirects the user to the new project.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.create_evaluation_user_response.CreateEvaluationUserResponse
create_pro_tier_user
Create Professional Tier user
Create a new user for the Professional Plan and a new project. Note that the Professional plan will not be enabled until the payment is successful.
Parameters
self
create_pro_tier_user_request: edgeimpulse_api.models.create_pro_tier_user_request.CreateProTierUserRequest
**kwargs
Return
edgeimpulse_api.models.create_user_response.CreateUserResponse
create_user
Create user
Create a new user and project
Parameters
self
create_user_request: edgeimpulse_api.models.create_user_request.CreateUserRequest
**kwargs
Return
edgeimpulse_api.models.create_user_response.CreateUserResponse
delete_current_user
Delete current user
Delete a user. This function is only available through a JWT token, and can only remove the current user.
Parameters
self
delete_user_request: edgeimpulse_api.models.delete_user_request.DeleteUserRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
delete_photo_current_user
Delete photo
Delete user profile photo. This function is only available through a JWT token.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
delete_user
Delete user
Delete a user. This function is only available through a JWT token, and can only remove the current user.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
delete_user_request: edgeimpulse_api.models.delete_user_request.DeleteUserRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
get_current_user
Get current user
Get information about the current user. This function is only available through a JWT token.
Parameters
self
exclude_projects: Annotated[Optional[pydantic.types.StrictBool], FieldInfo(default=PydanticUndefined, description='If set to "true", the "projects" field is left empty (will be faster if you call this function a lot). Use
getCurrentUserProjects
to get the project list in a separate call.', extra={})] = None**kwargs
Return
edgeimpulse_api.models.get_user_response.GetUserResponse
get_current_user_projects
Get current user projects
Get projects for the current user. This returns all projects regardless of whitelabel. This function is only available through a JWT token.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.get_user_projects_response.GetUserProjectsResponse
get_user
Get user
Get information about a user. This function is only available through a JWT token.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.get_user_response.GetUserResponse
get_user_by_third_party_activation_code
Get user by third party activation code
Get information about a user through an activation code. This function is only available through a JWT token.
Parameters
self
user_by_third_party_activation_request: edgeimpulse_api.models.user_by_third_party_activation_request.UserByThirdPartyActivationRequest
**kwargs
Return
edgeimpulse_api.models.get_user_response.GetUserResponse
get_user_need_to_set_password
Get user registration state
Tells whether a user is registered and whether it needs to set its password.
Parameters
self
username_or_email: Annotated[pydantic.types.StrictStr, FieldInfo(default=Ellipsis, description='Username or email', extra={})]
**kwargs
Return
edgeimpulse_api.models.get_user_need_to_set_password_response.GetUserNeedToSetPasswordResponse
list_emails_current_user
List emails
Get a list of all emails sent by Edge Impulse to the current user. This function is only available through a JWT token, and is not available for all users.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.list_email_response.ListEmailResponse
list_emails_user
List emails
Get a list of all emails sent by Edge Impulse to a user. This function is only available through a JWT token, and is not available for all users.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.list_email_response.ListEmailResponse
list_enterprise_trials_user
Get enterprise trials
Get a list of all enterprise trials for a user. This function is only available through a JWT token.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.list_enterprise_trials_response.ListEnterpriseTrialsResponse
list_organization_buckets_current_user
Get buckets current user
List all organizational storage buckets that the current user has access to. This function is only available through a JWT token.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.list_organization_buckets_user_response.ListOrganizationBucketsUserResponse
list_organization_buckets_user
Get buckets
List all organizational storage buckets that a user has access to. This function is only available through a JWT token.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.list_organization_buckets_user_response.ListOrganizationBucketsUserResponse
list_organizations_current_user
Get organizations
List all organizations that the current user is a member of. This function is only available through a JWT token.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.list_organizations_response.ListOrganizationsResponse
list_organizations_user
Get organizations
List all organizations for a user. This function is only available through a JWT token.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.list_organizations_response.ListOrganizationsResponse
request_activation_code_current_user
Request activation code
Request a new activation code for the current user. This function is only available through a JWT token.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
request_activation_code_user
Request activation code
Request a new activation code. This function is only available through a JWT token.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
request_reset_password
Request reset password
Request a password reset link for a user.
Parameters
self
request_reset_password_request: edgeimpulse_api.models.request_reset_password_request.RequestResetPasswordRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
reset_password
Reset password
Reset the password for a user.
Parameters
self
reset_password_request: edgeimpulse_api.models.reset_password_request.ResetPasswordRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
send_user_feedback
Send feedback
Send feedback to Edge Impulse or get in touch with sales.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
send_user_feedback_request: edgeimpulse_api.models.send_user_feedback_request.SendUserFeedbackRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
send_user_upgrade_request
Send upgrade request
Send an upgrade to Enterprise request to Edge Impulse.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
enterprise_upgrade_or_trial_extension_request: edgeimpulse_api.models.enterprise_upgrade_or_trial_extension_request.EnterpriseUpgradeOrTrialExtensionRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
set_user_password
Set password for SSO user
Set the password for a new SSO user. This function is only available through an SSO access token.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
set_user_password_request: edgeimpulse_api.models.set_user_password_request.SetUserPasswordRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
start_enterprise_trial
Start enterprise trial
Create an enterprise trial for the current user. Users can only go through a trial once.
Parameters
self
start_enterprise_trial_request: edgeimpulse_api.models.start_enterprise_trial_request.StartEnterpriseTrialRequest
**kwargs
Return
edgeimpulse_api.models.create_enterprise_trial_response.CreateEnterpriseTrialResponse
update_current_user
Update current user
Update user properties such as name. This function is only available through a JWT token.
Parameters
self
update_user_request: edgeimpulse_api.models.update_user_request.UpdateUserRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
update_user
Update user
Update user properties such as name. This function is only available through a JWT token.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
update_user_request: edgeimpulse_api.models.update_user_request.UpdateUserRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
upload_photo_current_user
Upload photo
Upload a photo for the current user. This function is only available through a JWT token.
Parameters
self
photo: pydantic.types.StrictStr
**kwargs
Return
edgeimpulse_api.models.upload_user_photo_response.UploadUserPhotoResponse
upload_photo_user
Upload photo
Upload a photo for a user. This function is only available through a JWT token, and is not available for all users.
Parameters
self
user_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='User ID', extra={})]
photo: pydantic.types.StrictStr
**kwargs
Return
edgeimpulse_api.models.upload_user_photo_response.UploadUserPhotoResponse
user_cancel_subscription
Cancel subscription
Cancel the current subscription.
Parameters
self
downgrade_subscription_request: edgeimpulse_api.models.downgrade_subscription_request.DowngradeSubscriptionRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
user_delete_totp_mfa_key
Remove TOTP MFA key
Disable MFA on this account using an TOTP token.
Parameters
self
user_delete_totp_mfa_key_request: edgeimpulse_api.models.user_delete_totp_mfa_key_request.UserDeleteTotpMfaKeyRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
user_dismiss_notification
Dismiss a notification
Dismiss a notification
Parameters
self
user_dismiss_notification_request: edgeimpulse_api.models.user_dismiss_notification_request.UserDismissNotificationRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
user_generate_new_totp_mfa_key
Generate a new TOTP MFA key
Creates a new MFA key, only allowed if the user has no MFA configured. TOTP tokens use SHA-1 algorithm.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.user_generate_new_mfa_key_response.UserGenerateNewMfaKeyResponse
user_get_subscription_metrics
Get user billable compute metrics
Get billable compute metrics for a user. This function is only available to users with an active subscription.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.user_subscription_metrics_response.UserSubscriptionMetricsResponse
user_set_totp_mfa_key
Set TOTP MFA key
Enable MFA on this account using an TOTP token. First create a new key via userGenerateNewTotpMfaKey
.
Parameters
self
user_set_totp_mfa_key_request: edgeimpulse_api.models.user_set_totp_mfa_key_request.UserSetTotpMfaKeyRequest
**kwargs
Return
edgeimpulse_api.models.user_set_totp_mfa_key_response.UserSetTotpMfaKeyResponse
user_undo_cancel_subscription
Undo subscription cancellation
Stop a pending cancellation. If you schedule a subscription to be canceled, and the subscription hasn't yet reached the end of the billing period, you can stop the cancellation. After a subscription has been canceled, you can't reactivate it.
Parameters
self
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
user_upgrade_subscription
Upgrade subscription
Upgrade the current subscription.
Parameters
self
upgrade_subscription_request: edgeimpulse_api.models.upgrade_subscription_request.UpgradeSubscriptionRequest
**kwargs
Return
None
verify_reset_password
Verify reset password code
Verify whether the reset password code for the user is valid.
Parameters
self
verify_reset_password_request: edgeimpulse_api.models.verify_reset_password_request.VerifyResetPasswordRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
Last updated