Skip to content

Put Retention Policy

workmail_put_retention_policy R Documentation

Puts a retention policy to the specified organization

Description

Puts a retention policy to the specified organization.

Usage

workmail_put_retention_policy(OrganizationId, Id, Name, Description,
  FolderConfigurations)

Arguments

OrganizationId

[required] The organization ID.

Id

The retention policy ID.

Name

[required] The retention policy name.

Description

The retention policy description.

FolderConfigurations

[required] The retention policy folder configurations.

Value

An empty list.

Request syntax

svc$put_retention_policy(
  OrganizationId = "string",
  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
    )
  )
)