Skip to content

Latest commit

 

History

History
78 lines (49 loc) · 2.5 KB

FileVersionRetentions.md

File metadata and controls

78 lines (49 loc) · 2.5 KB

IFileVersionRetentionsManager

List file version retentions

Retrieves all file version retentions for the given enterprise.

Note: File retention API is now deprecated. To get information about files and file versions under retention, see files under retention or file versions under retention endpoints.

This operation is performed by calling function GetFileVersionRetentions.

See the endpoint docs at API Reference.

await client.FileVersionRetentions.GetFileVersionRetentionsAsync();

Arguments

  • queryParams GetFileVersionRetentionsQueryParams
    • Query parameters of getFileVersionRetentions method
  • headers GetFileVersionRetentionsHeaders
    • Headers of getFileVersionRetentions method
  • cancellationToken System.Threading.CancellationToken?
    • Token used for request cancellation.

Returns

This function returns a value of type FileVersionRetentions.

Returns a list of all file version retentions for the enterprise.

Get retention on file

Returns information about a file version retention.

Note: File retention API is now deprecated. To get information about files and file versions under retention, see files under retention or file versions under retention endpoints.

This operation is performed by calling function GetFileVersionRetentionById.

See the endpoint docs at API Reference.

await client.FileVersionRetentions.GetFileVersionRetentionByIdAsync(fileVersionRetentionId: NullableUtils.Unwrap(fileVersionRetention.Id));

Arguments

  • fileVersionRetentionId string
    • The ID of the file version retention Example: "3424234"
  • headers GetFileVersionRetentionByIdHeaders
    • Headers of getFileVersionRetentionById method
  • cancellationToken System.Threading.CancellationToken?
    • Token used for request cancellation.

Returns

This function returns a value of type FileVersionRetention.

Returns a file version retention object.