Skip to main content

unlink_my_student_number

Function unlink_my_student_number 

Source
pub async fn unlink_my_student_number(
    user: AuthUser,
    pool: Data<PgPool>,
) -> ControllerResult<Json<UnlinkMyStudentNumberResult>>
Expand description

DELETE /api/v0/main-frontend/credit-registrations/my/student-number - Unlinks the student number from the signed-in account.

Registrations that have not been sent go back to waiting; credits already in Sisu are untouched.