Skip to content

Get Default Retention Policy

workmail_get_default_retention_policy R Documentation

Gets the default retention policy details for the specified organization

Description

Gets the default retention policy details for the specified organization.

Usage

workmail_get_default_retention_policy(OrganizationId)

Arguments

OrganizationId

[required] The organization ID.

Value

A list with the following syntax:

list(
  Id = "string",
  Name = "string",
  Description = "string",
  FolderConfigurations = list(
    list(
      Name = "INBOX"|"DELETED_ITEMS"|"SENT_ITEMS"|"DRAFTS"|"JUNK_EMAIL",
      Action = "NONE"|"DELETE"|"PERMANENTLY_DELETE",
      Period = 123
    )
  )
)

Request syntax

svc$get_default_retention_policy(
  OrganizationId = "string"
)