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_access_control_rule

delete_access_control_rule(**kwargs)

Deletes an access control 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_access_control_rule(
    OrganizationId='string',
    Name='string'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The identifier for the organization.

  • Name (string) --

    [REQUIRED]

    The name of the access control rule.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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