跳轉到主要內容
POST
Delete Files

授權

X-EntityToken
string
header
必填

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

主體

application/json

Deletes the requested files from the entity's profile.

Deletes the requested files from the entity's profile.

Entity
object
必填

The entity to perform this action on.

FileNames
string[]
必填

Names of the files to be deleted.

CustomTags
object

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

ProfileVersion
number

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.

回應

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
範例:
最後修改於 2026年10月6日