Abort File Uploads
Abort pending file uploads to an entity’s profile.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| FileNotFound | 1045 |
| NoEntityFileOperationPending | 1351 |
Authorizations
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
Body
Aborts the pending upload of the requested files.
Aborts the pending upload of the requested files.
The entity to perform this action on.
Names of the files to have their pending uploads aborted.
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 InitiateFileUploads API or other APIs, you can ensure that the file upload abort operation 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.
