Edit

PFDataDeleteFilesRequest

PFDataDeleteFilesRequest data model. Deletes the requested files from the entity's profile.

Syntax

typedef struct PFDataDeleteFilesRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    const char* const* fileNames;  
    uint32_t fileNamesCount;  
    int32_t const* profileVersion;  
} PFDataDeleteFilesRequest;  

Members

customTags   PFStringDictionaryEntry const*
may be nullptr

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

customTagsCount   uint32_t

Count of customTags

entity   PFEntityKey const*

The entity to perform this action on.

fileNames   const char* const*

Names of the files to be deleted.

fileNamesCount   uint32_t

Count of fileNames

profileVersion   int32_t const*
may be nullptr

(Optional) Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the GetFiles API or other APIs, you can ensure that the file deletion is performed only if the profile has not been updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics.

Requirements

Header: PFDataTypes.h

See also

PFDataTypes members