[DELETE] 유저 세션 초기화

유저의 게임 세션을 초기화합니다. 세션이 초기화 된 유저는 해당 유저의 username으로 일회성 게임 URL 생성 API 호출 전까지 베팅할 수 없습니다.

triangle-exclamation

Delete user's sessions

DELETE /api/users/clear-session

Body

Name
Type
Description

usernames*

String[]

에이전트 시스템에서 유저를 유일하게 식별하기 위한 값의 리스트입니다.

리스트 형태로 유저 ID를 전달하여 여러 유저의 세션을 동시에 초기화할 수 있습니다.

circle-exclamation

Example

//body
{
    "usernames": ["부산의달", "007"]
}

Response

{
    "success": "true"
}

Last updated

Was this helpful?