Skip to main content
POST
https://api.chessplay.io
/
api
/
v1
/
batches
/
{id}
/
remove-student
curl -X POST https://api.chessplay.io/api/v1/batches/1/remove-student/ \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"student_id": 123}'
{
  "message": "Student removed successfully",
  "student": {
    "id": 123,
    "username": "FastMalamute",
    "name": "John Doe"
  }
}

Path Parameters

id
integer
required
Batch ID

Body Parameters

student_id
integer
required
Student ID to remove
curl -X POST https://api.chessplay.io/api/v1/batches/1/remove-student/ \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"student_id": 123}'
{
  "message": "Student removed successfully",
  "student": {
    "id": 123,
    "username": "FastMalamute",
    "name": "John Doe"
  }
}