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();
- queryParams
GetFileVersionRetentionsQueryParams
- Query parameters of getFileVersionRetentions method
- headers
GetFileVersionRetentionsHeaders
- Headers of getFileVersionRetentions method
- cancellationToken
System.Threading.CancellationToken?
- Token used for request cancellation.
This function returns a value of type FileVersionRetentions
.
Returns a list of all file version retentions for the enterprise.
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));
- 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.
This function returns a value of type FileVersionRetention
.
Returns a file version retention object.