Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_mobile_device_access_rule

delete_mobile_device_access_rule(**kwargs)

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

Note

Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

See also: AWS API Documentation

Request Syntax

response = client.delete_mobile_device_access_rule(
    OrganizationId='string',
    MobileDeviceAccessRuleId='string'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The WorkMail organization under which the rule will be deleted.

  • MobileDeviceAccessRuleId (string) --

    [REQUIRED]

    The identifier of the rule to be deleted.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkMail.Client.exceptions.InvalidParameterException
  • WorkMail.Client.exceptions.OrganizationNotFoundException
  • WorkMail.Client.exceptions.OrganizationStateException