Skip to content

Update Mobile Device Access Rule

workmail_update_mobile_device_access_rule R Documentation

Updates a mobile device access rule for the specified WorkMail organization

Description

Updates a mobile device access rule for the specified WorkMail organization.

Usage

workmail_update_mobile_device_access_rule(OrganizationId,
  MobileDeviceAccessRuleId, Name, Description, Effect, DeviceTypes,
  NotDeviceTypes, DeviceModels, NotDeviceModels, DeviceOperatingSystems,
  NotDeviceOperatingSystems, DeviceUserAgents, NotDeviceUserAgents)

Arguments

OrganizationId

[required] The WorkMail organization under which the rule will be updated.

MobileDeviceAccessRuleId

[required] The identifier of the rule to be updated.

Name

[required] The updated rule name.

Description

The updated rule description.

Effect

[required] The effect of the rule when it matches. Allowed values are ALLOW or DENY.

DeviceTypes

Device types that the updated rule will match.

NotDeviceTypes

Device types that the updated rule will not match. All other device types will match.

DeviceModels

Device models that the updated rule will match.

NotDeviceModels

Device models that the updated rule will not match. All other device models will match.

DeviceOperatingSystems

Device operating systems that the updated rule will match.

NotDeviceOperatingSystems

Device operating systems that the updated rule will not match. All other device operating systems will match.

DeviceUserAgents

User agents that the updated rule will match.

NotDeviceUserAgents

User agents that the updated rule will not match. All other user agents will match.

Value

An empty list.

Request syntax

svc$update_mobile_device_access_rule(
  OrganizationId = "string",
  MobileDeviceAccessRuleId = "string",
  Name = "string",
  Description = "string",
  Effect = "ALLOW"|"DENY",
  DeviceTypes = list(
    "string"
  ),
  NotDeviceTypes = list(
    "string"
  ),
  DeviceModels = list(
    "string"
  ),
  NotDeviceModels = list(
    "string"
  ),
  DeviceOperatingSystems = list(
    "string"
  ),
  NotDeviceOperatingSystems = list(
    "string"
  ),
  DeviceUserAgents = list(
    "string"
  ),
  NotDeviceUserAgents = list(
    "string"
  )
)