Partage via


XblTitleStorageDeleteBlobAsync

Deletes a blob from title storage.

Syntax

HRESULT XblTitleStorageDeleteBlobAsync(  
         XblContextHandle xboxLiveContext,  
         XblTitleStorageBlobMetadata blobMetadata,  
         bool deleteOnlyIfEtagMatches,  
         XAsyncBlock* async  
)  

Parameters

xboxLiveContext   _In_
Type: XblContextHandle

An xbox live context handle created with XblContextCreateHandle.

blobMetadata   _In_
Type: XblTitleStorageBlobMetadata

The blob metadata for the title storage blob to delete.

deleteOnlyIfEtagMatches   _In_
Type: bool

Specifies whether or not to have the delete operation check that the ETag matches before deleting the blob.

async   _In_
Type: XAsyncBlock*

Caller allocated AsyncBlock.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

The result of the asynchronous operation can be obtained by calling XAsyncGetStatus inside the AsyncBlock callback or after the AsyncBlock is complete.

REST Call

V1 DELETE trustedplatform/users/xuid({xuid})/scids/{scid}/data/{path},{type}
V1 DELETE json/users/xuid({xuid})/scids/{scid}/data/{path},{type}
V1 DELETE sessions/{sessionId}/scids/{scid}/data/{path},{type}

Requirements

Header: title_storage_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

title_storage_c