cURL
curl --request GET \ --url https://api.example.com/partner/{partner_id}/classes/{class_id}/invite-codes \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": 123, "partner_id": 123, "class_id": 123, "code": "<string>", "target_role": "<string>", "used_count": 123, "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z", "max_uses": 123, "created_by": 123 } ], "total": 123, "page": 123, "size": 123 }
특정 class 에 연결된 초대코드 목록 조회.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
강사 ID
x >= 1
True일 경우 활성(미만료) 코드만 필터링
1 <= x <= 100
x >= 0
Successful Response
Show child attributes