Remove Class Teachers

DELETE /classes/{classId}/teachers

Remove teachers from a class

Path parameters

  • classId string(uuid) Required

    The ID of the class.

application/json

Body Required

  • userIds array[string(uuid)] Required

    User UUID

Responses

  • Teachers removed successfully.

  • Invalid request.

  • Invalid authentication credentials

  • Not authorised to access this resource

  • Class not found.

DELETE /classes/{classId}/teachers
curl \
 -X DELETE https://connect.century.tech/api/v1/classes/c81fd38c-03f6-4b68-8720-84a7233e89de/teachers \
 -H "Content-Type: application/json" \
 -d '{"userIds":["68f06c66-702a-4c26-b8c5-b6dc4f81f25d"]}'
Request examples
{
  "userIds": [
    "68f06c66-702a-4c26-b8c5-b6dc4f81f25d"
  ]
}