cURL
curl --request POST \ --url https://api.example.com/partner/{partner_id}/course \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "course_key": "<string>", "status": "draft", "start_date": "2023-12-25", "end_date": "2023-12-25", "description": "<string>" } '
{ "title": "<string>", "course_key": "<string>", "id": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "status": "draft", "start_date": "2023-12-25", "end_date": "2023-12-25", "description": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
강사 ID
org_id 는 path(/orgs/{org_id}/courses 등)에서 받으므로 body에는 포함 X
/orgs/{org_id}/courses
draft
active
archived
Successful Response