Delete Files
Delete files on an entity’s profile.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| EntityFileOperationPending | 1350 |
| FileNotFound | 1045 |
Authorizations
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
Body
Deletes the requested files from the entity's profile.
Deletes the requested files from the entity's profile.
The entity to perform this action on.
Names of the files to be deleted.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
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.
