Run¶
Manage TagoRUN environment configuration and users.
info¶
Retrieves information about the current Run environment configuration.
See: TagoRun | Run Themes
Returns:
# If receive an error "Authorization Denied", check policy **Profile** / **Access TagoRun settings** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.info() print(result) # {'name': 'My Run Environment', 'logo': 'https://example.com/logo.png', ...}
edit¶
Updates the Run environment configuration settings.
See: TagoRun | Run Themes
Parameters:
data: dictRun configuration data to updateReturns:
str# If receive an error "Authorization Denied", check policy **Profile** / **Edit TagoRun settings** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.edit({"name": "My Run Environment", "logo": "https://example.com/logo.png"}) print(result) # TagoIO Run Successfully Updated
listUsers¶
Retrieves a paginated list of Run users with customizable fields and filtering options.
See: TagoRun
Parameters:
Returns:
list[UserInfo]# If receive an error "Authorization Denied", or return empty list check policy **Run User** / **Access** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.listUsers({ "page": 1, "fields": ["id", "name", "email"], "amount": 20 }) print(result) # [{'id': 'user-id-123', 'name': 'John Doe', 'email': 'example@email.com'}]
userInfo¶
Retrieves detailed information about a specific Run user.
See: TagoRun
Parameters:
userID: GenericIDUser identificationReturns:
# If receive an error "Authorization Denied", check policy **Run User** / **Access** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.userInfo("user-id-123") print(result) # {'id': 'user-id-123', 'name': 'John Doe', 'email': 'example@email.com', ...}
userCreate¶
Creates a new user in the Run environment.
See: TagoRun
Parameters:
data: UserCreateInfoUser creation dataReturns:
dict# If receive an error "Authorization Denied", check policy **Run User** / **Create** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.userCreate({ "name": "John Doe", "email": "john@example.com", "password": "secure123", "timezone": "America/New_York" }) print(result) # {'user': 'user-id-123'}
userEdit¶
Updates information for an existing Run user.
See: TagoRun
Parameters:
userID: GenericIDUser identificationdata: dictUser data to updateReturns:
str# If receive an error "Authorization Denied", check policy **Run User** / **Edit** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.userEdit("user-id-123", {"name": "Updated Name"}) print(result) # TagoIO Run User Successfully Updated
userDelete¶
Permanently deletes a user from the Run environment.
See: TagoRun
Parameters:
userID: GenericIDUser identificationReturns:
str# If receive an error "Authorization Denied", check policy **Run User** / **Delete** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.userDelete("user-id-123") print(result) # Successfully Removed
loginAsUser¶
Generates a login token to authenticate as a specific Run user.
Parameters:
userID: GenericIDUser identificationOptional options: LoginAsUserOptionsLogin options (e.g., expire_time)Returns:
# If receive an error "Authorization Denied", check policy **Run User** / **Login as user** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.loginAsUser("user-id-123") print(result["token"]) # eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
emailTest¶
Tests the email configuration by sending a test message.
Parameters:
data: EmailTestDataEmail test data with subject and bodyReturns:
strfrom tagoio_sdk import Resources resources = Resources({"token": "YOUR-PROFILE-TOKEN"}) result = resources.run.emailTest({"subject": "Test Email", "body": "This is a test message"}) print(result) # E-mail sent to example@email.com
notificationList¶
Retrieves a list of notifications for a specific Run user.
Parameters:
userID: GenericIDUser identificationReturns:
# If receive an error "Authorization Denied", check policy **Run User** / **Access notification** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.notificationList("user-id-123") print(result) # [{'id': 'notification-id-123', 'title': 'System Update', 'message': 'Features', ...}]
notificationCreate¶
Creates a new notification for a Run user.
Parameters:
userID: GenericIDUser identificationdata: NotificationCreateNotification dataReturns:
# If receive an error "Authorization Denied", check policy **Run User** / **Create notification** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.notificationCreate("user-id-123", { "title": "Update", "message": "New feature available" }) print(result) # {'id': 'notification-id-123'}
notificationEdit¶
Updates an existing notification in the Run environment.
Parameters:
notificationID: GenericIDNotification identificationdata: dictNotification data to updateReturns:
str# If receive an error "Authorization Denied", check policy **Run User** / **Edit notification** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.notificationEdit("notification-id-123", {"title": "Updated Title"}) print(result) # TagoIO Notification User Successfully Updated
notificationDelete¶
Deletes a notification from the Run environment.
Parameters:
notificationID: GenericIDNotification identificationReturns:
str# If receive an error "Authorization Denied", check policy **Run User** / **Delete notification** in Access Management. from tagoio_sdk import Resources resources = Resources() result = resources.run.notificationDelete("notification-id-123") print(result) # Successfully Removed
ssoSAMLInfo¶
Retrieves the SAML Single Sign-On configuration information for the Run environment.
See: Single Sign-On (SSO)
Returns:
from tagoio_sdk import Resources resources = Resources({"token": "YOUR-PROFILE-TOKEN"}) result = resources.run.ssoSAMLInfo() print(result) # {'sp': {'entity_id': 'https://example.com', ...}, ...}
ssoSAMLEdit¶
Updates the SAML SSO configuration for the Run environment.
See: Single Sign-On (SSO)
Parameters:
data: RunSAMLEditInfoSAML SSO configuration dataReturns:
strfrom tagoio_sdk import Resources resources = Resources({"token": "YOUR-PROFILE-TOKEN"}) result = resources.run.ssoSAMLEdit({ "active": True, "idp_metadata": "<xml>...</xml>" }) print(result) # TagoIO Run SAML SSO Successfully Updated
createCustomDomain¶
Creates a custom domain configuration for the Run environment.
See: Custom Domain Configuration
Parameters:
profile_id: strProfile identificationcustomDomainData: CustomDomainCreateCustom domain configuration dataReturns:
strfrom tagoio_sdk import Resources resources = Resources({"token": "YOUR-PROFILE-TOKEN"}) result = resources.run.createCustomDomain("profile-id-123", { "domain": "app.mycompany.com" }) print(result) # Custom domain created successfully
getCustomDomain¶
Retrieves the custom domain configuration for a Run profile.
See: Custom Domain Configuration
Parameters:
profile_id: strProfile identificationReturns:
from tagoio_sdk import Resources resources = Resources({"token": "YOUR-PROFILE-TOKEN"}) result = resources.run.getCustomDomain("profile-id-123") print(result) # {'domain': 'app.mycompany.com', 'verified': True, ...}
deleteCustomDomain¶
Removes the custom domain configuration from a Run profile.
See: Custom Domain Configuration
Parameters:
profile_id: strProfile identificationReturns:
strfrom tagoio_sdk import Resources resources = Resources({"token": "YOUR-PROFILE-TOKEN"}) result = resources.run.deleteCustomDomain("profile-id-123") print(result) # Custom domain deleted successfully
regenerateCustomDomain¶
Regenerates the custom domain configuration for a Run profile.
See: Custom Domain Configuration
Parameters:
profile_id: strProfile identificationReturns:
strfrom tagoio_sdk import Resources resources = Resources({"token": "YOUR-PROFILE-TOKEN"}) result = resources.run.regenerateCustomDomain("profile-id-123") print(result) # Custom domain regenerated successfully
- Run Type
- ThemeOption
- sidebar_buttons
- signup_fields
- feature_devicewifisetup
- email_templates
- TypedDict
- feature_geolocation
- otp
- RunInfo
- UserCreateInfo
- UserInfo
- LoginResponse
- LoginAsUserOptions
- EmailTestData
- SAMLAttributeMappings
- sp
- idp
- RunSAMLInfo
- RunSAMLEditInfo
- CustomDomainDnsRecord
- CustomDomainResponse
- CustomDomainInfo
- CustomDomainCreate