Skip to main content
Delete files on an entity’s profile.

Syntax

Parameters

entityHandle   PFEntityHandle PFEntityHandle to use for authentication. request   PFDataDeleteFilesRequest* Populated request object. async   XAsyncBlock*
Inout
XAsyncBlock for the async operation.

Return value

Type: HRESULT Result code for this API operation.

Remarks

This API is available on all platforms. Deletes the requested files from the entity’s profile. See also FileAbortFileUploadsAsync, FileFinalizeFileUploadsAsync, FileGetFilesAsync, FileInitiateFileUploadsAsync. When the asynchronous task is complete, call PFDataDeleteFilesGetResultSize and PFDataDeleteFilesGetResult to get the result.

Requirements

Header: PFData.h

See also

PFData members
Last modified on August 3, 2026