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

# PFAuthenticationDeleteAsync

> Delete a game_server entity.

Delete a game\_server entity.

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFAuthenticationDeleteRequest\*](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationdeleterequest)

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 Win32, Linux, and macOS. Delete a game\_server entity. The caller can be the game\_server entity attempting to delete itself. Or a title entity attempting to delete game\_server entities for this title. 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:** PFAuthentication.h

## See also

[PFAuthentication members](/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [Services C API overview - PFAuthentication.h](/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFDataDeleteFilesAsync](/services/playfab/api-references/c/pfdata/functions/pfdatadeletefilesasync.md)
- [PFCatalogDeleteItemAsync](/services/playfab/api-references/c/pfcatalog/functions/pfcatalogdeleteitemasync.md)
- [PFGroupsDeleteGroupAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupsdeletegroupasync.md)
- [PFGroupsDeleteRoleAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupsdeleteroleasync.md)
