⏸️ 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.
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
Field | Type | Description |
|---|---|---|
| ID! | Degree enrollment ID. |
| ID! | Degree the student is enrolled on. |
| ID! | User (student) associated with the enrollment. |
| DegreeStudentStatus! | Current enrollment status. Becomes |
| Date | Start of the current pause window, if any. |
| Date | End of the current pause window, if any. Auto-unpause triggers on this date. |
| DateTime! | Timestamp the enrollment was created. |
| DateTime! | Timestamp the enrollment was last updated. |