Unassign a participant from an exam
Removes or cancels a participant's assignment from a specific exam, as long as the participant has not started the exam.
Responses
-
Participant's assignment from the exam successfully canceled.
-
Failed to unassign: Participant is not registered for this exam or participant has already started the exam.
-
Authorization failed. Ensure the
X-Client-Key
sent is valid and active. -
Invalid or inactive client. The API key may be incorrect, expired, or your account does not have permission.
-
Participant or Exam data with the given ID was not found.
-
Validation error occurred on the submitted participant ID or exam ID.
-
An internal server error occurred. Please try again shortly or contact support.
POST
/exam-participants/unassign
curl \
--request POST 'https://app.indolat.com/api/v1/exam-participants/unassign' \
--header "X-Client-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"participant_id":101,"exam_id":202}'
Request examples
{
"participant_id": 101,
"exam_id": 202
}