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

# PFFriendsClientRemoveFriendAsync

> 지정된 사용자를 로컬 사용자의 친구 목록에서 제거합니다.

지정된 사용자를 로컬 사용자의 친구 목록에서 제거합니다.

## 구문

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

### 매개 변수

**`entityHandle`**   PFEntityHandle

인증에 사용할 PFEntityHandle입니다.

**`request`**   [PFFriendsClientRemoveFriendRequest\*](/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientremovefriendrequest)

채워진 요청 개체입니다.

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

비동기 작업을 위한 XAsyncBlock입니다.

### 반환 값

형식: HRESULT

이 API 작업의 결과 코드입니다.

## 설명

이 API는 모든 플랫폼에서 사용할 수 있습니다. ClientAddFriendAsync, ClientSetFriendTagsAsync도 참조하세요. XAsyncGetStatus를 호출하여 작업 상태를 가져옵니다. 서비스 호출이 실패하면 비동기 결과는 전역 PlayFab 서비스 오류 중 하나가 됩니다. 오류 처리에 대한 자세한 내용은 “Handling PlayFab Errors” 문서 페이지를 참조하세요.

## 요구 사항

**헤더:** PFFriends.h

## 참고 항목

[PFFriends 멤버](/services/playfab/api-references/c/pffriends/pffriends_members)


## Related topics

- [Services C API 개요 - PFFriends.h](/ko/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsClientRemoveFriendRequest](/ko/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientremovefriendrequest.md)
- [PFFriendsClientGetFriendsListAsync](/ko/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md)
- [PFFriendsServerRemoveFriendAsync](/ko/services/playfab/api-references/c/pffriends/functions/pffriendsserverremovefriendasync.md)
- [PFFriendsClientSetFriendTagsAsync](/ko/services/playfab/api-references/c/pffriends/functions/pffriendsclientsetfriendtagsasync.md)
