⏸️ Pause / Unpause Degree Student
The pauseDegreeStudent and unpauseDegreeStudent mutations allow an administrator to temporarily suspend a student's enrollment on a degree and later restore it. Pausing sets the enrollment's status to PAUSED, records the pause window, and logs an activity entry capturing the previous status. Unpausing restores the enrollment to its previous status (or ACTIVE / PENDING depending on activation criteria) and logs a corresponding activity entry.
Both mutations identify the enrollment in one of two ways:
By
degreeStudentIddirectly, orBy the combination of
studentId+degreeId.
If both forms are provided, degreeStudentId takes precedence. If neither a valid degreeStudentId nor a valid studentId + degreeId pair is supplied, the call fails with INVALID_INPUT.
To end an enrollment permanently instead, use Archive Degree Student.
pauseDegreeStudent
Pauses a degree student enrollment. Records the pause window and writes an activity entry with the previous status as dataPrev.
Input Parameters
Parameter | Type | Description |
|---|---|---|
| ID | ID of the degree enrollment to pause. Provide this or |
| ID | ID of the student. Required if |
| ID | ID of the degree. Required if |
| Date | Optional start date of the pause window (UTC, |
| Date | Optional end date of the pause window (UTC, |
| String! | Reason the enrollment is being paused. Stored on the activity record. |
Response Fields
Field | Type | Description |
|---|---|---|
| Boolean! | Returns |
Errors
Code | Meaning |
|---|---|
| Neither |
| No matching degree enrollment exists for the identifiers provided. |
🚀 Request (Try It)
unpauseDegreeStudent
Unpauses a previously paused degree student enrollment. Restores the student's status using the following precedence:
The previous status recorded on the most recent
pauseDegreeStudentactivity (dataPrev.status), if known.Otherwise,
ACTIVEif the student meets activation criteria.Otherwise,
PENDING.
Input Parameters
Parameter | Type | Description |
|---|---|---|
| ID | ID of the degree enrollment to unpause. Provide this or |
| ID | ID of the student. Required if |
| ID | ID of the degree. Required if |
Response Fields
Field | Type | Description |
|---|---|---|
| Boolean! | Returns |
Errors
Code | Meaning |
|---|---|
| Neither |
| No matching degree enrollment exists for the identifiers provided. |
🚀 Request (Try It)
Related Types
DegreeStudentStatus
Possible values for a degree enrollment's status:
PENDING, ACTIVE, REJECTED, SUBMITTED, COMPLETED, ARCHIVED, PAUSED.
DegreeStudent
Degree enrollments are returned in the degrees field of the student and students queries.
Field | Type | Description |
|---|---|---|
| ID! | Degree enrollment ID. |
| ID! | Degree the student is enrolled on. |
| DateTime! | Timestamp the enrollment was last updated. |
| DateTime! | Timestamp the enrollment was created. |
| DegreeStudentStatus | Current enrollment status. Becomes |
| ComplianceStepStatus! | Status of the identity onboarding step ( |
| ComplianceStepStatus! | Status of the qualification onboarding step. |
| ComplianceStepStatus! | Status of the motivation onboarding step. |
| ComplianceStepStatus! | Status of the agreement onboarding step. |
| ComplianceStepStatus! | Status of the college approval step. |
| Int! | Workload consumed on the degree. |
| Int! | Workload required to complete the degree. |
| Int! | Workload completed on the degree. |
| DateTime | When the student started onboarding. |
| DateTime | When each onboarding step was last updated. |
| DegreeStudentPaymentStatus! | Payment status ( |
| DateTime | When the enrollment was activated. |
| String | Reason for rejection, if applicable. |
Note: The pause window (
pauseFrom/pauseTo) is an input topauseDegreeStudentonly; it is not returned onDegreeStudent.