DELETE /api/v1/exam-period/{id}/departments/{departmentId}/unlink

Remove association between a department and an exam period. Only admin can perform this action.

Path parameters

  • id string Required
  • departmentId string Required

Responses

  • 200

    Department unlinked successfully

  • 400 application/json

    Default bad request error 400 response

    Hide response attributes Show response attributes object
    • message string Required

      Response message

    • error string Required
    • statusCode number Required
DELETE /api/v1/exam-period/{id}/departments/{departmentId}/unlink
curl \
 --request DELETE 'https://api.echoplain.social/api/v1/exam-period/{id}/departments/{departmentId}/unlink'
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}