계정 삭제
PlayerId 삭제 API입니다. 해당 API는 게임에서 서버 대 서버로 직접 호출하는 형식입니다. Response는 성공 시 PlayerId 토큰 및 IDP 연동 정보를 삭제하며, 이후에는 자동 로그인과 IdP 로그인을 진행할 수 없습니다.
- Request URL
상용 URL | https://auth.qpyou.cn/game/player/delete |
---|---|
Sandbox URL | https://sandbox-auth.qpyou.cn/game/player/delete |
HTTP Method | Post |
Content-Type | application/json |
Data Format | JSON |
- Request Header
이름 | 설명 | 필수여부(Y/N) |
---|---|---|
Authorization | 로그인 성공 후 반환된 토큰키 | Y |
ISCRYPT | 데이터 암호화 여부 (0= 암호화 안함) | Y |
- Request Body
이름 | 설명 | 필수여부(Y/N) |
---|---|---|
appid | 앱 id | Y |
did | did | Y |
player_id | 플레이어 id | Y |
hive_certification_key | Hive 인증키(앱센터에서 발급) 자세히 | Y |
- Response Body
이름 | 설명 | Type | Value | 코드 |
---|---|---|---|---|
result_code | 결과 코드 | Integer | 0 | |
result_msg | 결과 메세지 | String |
- Request Sample
{
"appid" : "com.com2us.hivesdk.normal.freefull.apple.global.ios.universal",
"did" : 225697886,
"player_id" : 10000000445,
"hive_certification_key" : "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJIaXZlIiwiaWF0IjoxNjAyMDU2NzI2LCJqdGkiOiIxODczMTExMzIwIn0.3soFiHTPlObCoqR5xX9ZeOQTSvnHrHDHWmopP3QfWtY"
}
- Response Sample
- Return Code
코드 | 설명 |
---|---|
0 | 정상 |
4002 | Hive 인증키 에러 |
7000 | 헤더 토큰 에러 |