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_retention_policy

delete_retention_policy(**kwargs)

Deletes the specified retention policy from the specified organization.

See also: AWS API Documentation

Request Syntax

response = client.delete_retention_policy(
    OrganizationId='string',
    Id='string'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The organization ID.

  • Id (string) --

    [REQUIRED]

    The retention policy ID.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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