Batch

Update a batch (Admin only)

patch/batch/{id}

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/batch/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

total_classesinteger
batch_namestring
mentor_idsstring[]
batch_start_datestring date
batch_end_datestring date
estimated_end_datestring date
current_course_idstring nullable
course_idsstring[]
completed_course_idsstring[]
batch_codestring
descriptionstring
image_urlstring uri
meeting_idstring uuid

Response

Batch updated successfully

messagestring required

Changes