WorkMail / Client / delete_access_control_rule

delete_access_control_rule#

WorkMail.Client.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