Instructors
Endpoints for working with instructors.
Get instructors
GET /api/internal/v1/partners/:partner_id/instructors
Get the instructors of the given partner.
Path Parameters
Query Parameters
The current page. Defaults to 1.
Filter instructors by name and email.
Create a new instructor
POST /api/internal/v1/partners/:partner_id/instructors
Create a new instructor for the given partner.
Path Parameters
The name of the instructor.
The email address of the instructor.
Internal note regarding the instructor.
Indicates if the instructor phone number should be visible in the online profile. Default is false.
Indicates if the instructor email address should be visible in the online profile. Default is true.
The instructor website link.
The Facebook profile link of the instructor.
The Youtube profile link of the instructor.
The Twitter profile link of the instructor.
The profile image of the instructor.
Array with the IDs of the categories that should be associated with the instructor.
Get a specific instructor
GET /api/internal/v1/partners/:partner_id/instructors/:instructor_id
Get a specific instructor.
Path Parameters
The ID of the instructor.
Update instructor
PUT /api/internal/v1/partners/:partner_id/instructors/:instructor_id
Update the given instructor. The fields used when creating a new instructor are also applied here.
Path Parameters
The ID of the instructor.
Delete instructor
DELETE /api/internal/v1/partners/:partner_id/instructors/:instructor_id
Delete the given instructor.
Path Parameters
The ID of the instructor to be deleted.
Update instructor profile image
PUT /api/internal/v1/partners/:partner_id/instructors/:instructor_id/profile-image
Update the profile image of the given instructor.
Path Parameters
The ID of the instructor.
The image to be uploaded.
Delete instructor profile image
DELETE /api/internal/v1/partners/:partner_id/instructors/:instructor_id/profile-image
Delete the profile image of the given instructor.
Path Parameters
The ID of the instructor.