> ## 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.

# PFInventoryDeleteInventoryCollectionAsync

> Delete an Inventory Collection. More information about Inventory Collections can be found here: /playfab/economy-monetization/economy-v2/inventory/collections

Delete an Inventory Collection. More information about Inventory Collections can be found here: [/services/playfab/economy-monetization/economy-v2/inventory/collections](/services/playfab/economy-monetization/economy-v2/inventory/collections)

## Syntax

```cpp theme={null}
HRESULT PFInventoryDeleteInventoryCollectionAsync(  
    PFEntityHandle entityHandle,  
    const PFInventoryDeleteInventoryCollectionRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFInventoryDeleteInventoryCollectionRequest\*](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorydeleteinventorycollectionrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on all platforms. Delete an Inventory Collection by the specified Id for an Entity. Call XAsyncGetStatus to get the status of the operation. If the service call is unsuccessful, the async result will be one of global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

## Requirements

**Header:** PFInventory.h

## See also

[PFInventory members](/services/playfab/api-references/c/pfinventory/pfinventory_members)


## Related topics

- [Services C API overview - PFInventory.h](/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [Inventory Collections](/services/playfab/economy-monetization/economy-v2/inventory/collections.md)
- [PFInventoryDeleteInventoryCollectionRequest](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorydeleteinventorycollectionrequest.md)
- [PFInventoryGetInventoryCollectionIdsAsync](/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsasync.md)
- [PFInventoryDeleteInventoryItemsAsync](/services/playfab/api-references/c/pfinventory/functions/pfinventorydeleteinventoryitemsasync.md)
