> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFDataDeleteFilesRequest

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

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

## Syntax

```cpp theme={null}
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](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*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](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) 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\*<br />*may be nullptr*

(Optional) The expected version of the profile, if set and doesn't match the current version of the profile the operation will not be performed.

## Requirements

**Header:** PFDataTypes.h

## See also

[PFDataTypes members](/services/playfab/api-references/c/pfdatatypes/pfdatatypes_members)


## Related topics

- [PFDataDeleteFilesAsync](/services/playfab/api-references/c/pfdata/functions/pfdatadeletefilesasync.md)
- [Services C API overview - PFDataTypes.h](/services/playfab/api-references/c/pfdatatypes/pfdatatypes_members.md)
- [PFDataDeleteFilesResponse](/services/playfab/api-references/c/pfdatatypes/structs/pfdatadeletefilesresponse.md)
- [PFDataDeleteFilesGetResult](/services/playfab/api-references/c/pfdata/functions/pfdatadeletefilesgetresult.md)
- [PFDataDeleteFilesGetResultSize](/services/playfab/api-references/c/pfdata/functions/pfdatadeletefilesgetresultsize.md)
