Skip to main content

DeleteFileRequest Constructors

An object defining constructors for the DeleteFileRequest class.

DeleteFileRequest()​

Initializes a new instance of the DeleteFileRequest class.

Provides a default constructor for creating instances of the DeleteFileRequest class.


DeleteFileRequest()​

Initializes a new instance of the DeleteFileRequest class.


DeleteFileRequest(secretKey, reason)​

Initializes a new instance of the DeleteFileRequest class with the specified security key and deletion reason.

Parameters:​

secretKey (required): string
The encrypted secret key used for file security verification.

reason (required): string
The reason for deleting the file.

This constructor creates a new DeleteFileRequest instance by calling the base constructor and initializing the security and reason information for the file deletion operation.