cURL
curl --request POST \ --url https://api.example.com/partner/partners \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "org_id": 123, "full_name": "<string>", "email": "jsmith@example.com", "phone": "<string>", "role": "partner", "is_active": true, "user_id": 123 } '
{ "org_id": 123, "full_name": "<string>", "email": "jsmith@example.com", "id": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "phone": "<string>", "role": "partner", "is_active": true, "user_id": 123, "last_login_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
파트너(강사/어시스턴트) 생성용. user_id는 필요한 경우에만 받는다.
Successful Response