🚀 Heads up: Our API Docs Have Moved!
We have relocated to Instructure Developer Documentation Portal. 🎉 Please update your bookmarks. This page will automatically redirect after July 1, 2026.
We have relocated to Instructure Developer Documentation Portal. 🎉 Please update your bookmarks. This page will automatically redirect after July 1, 2026.
Temporary Enrollment Pairings API
A TemporaryEnrollmentPairing object looks like:
// A pairing unique to that enrollment period given to a recipient of that
// temporary enrollment.
{
// the ID of the temporary enrollment pairing
"id": 1,
// The current status of the temporary enrollment pairing
"workflow_state": "active"
}
List temporary enrollment pairings TemporaryEnrollmentPairingsApiController#index
GET /api/v1/accounts/:account_id/temporary_enrollment_pairings
Scope:
Returns the list of temporary enrollment pairings for a root account.
Returns a list of
TemporaryEnrollmentPairing
objects
url:GET|/api/v1/accounts/:account_id/temporary_enrollment_pairings
Get a single temporary enrollment pairing TemporaryEnrollmentPairingsApiController#show
GET /api/v1/accounts/:account_id/temporary_enrollment_pairings/:id
Scope:
Returns the temporary enrollment pairing with the given id.
Returns a
TemporaryEnrollmentPairing
object
url:GET|/api/v1/accounts/:account_id/temporary_enrollment_pairings/:id
New TemporaryEnrollmentPairing TemporaryEnrollmentPairingsApiController#new
GET /api/v1/accounts/:account_id/temporary_enrollment_pairings/new
Scope:
Initialize an unsaved Temporary Enrollment Pairing.
Returns a
TemporaryEnrollmentPairing
object
url:GET|/api/v1/accounts/:account_id/temporary_enrollment_pairings/new
Create Temporary Enrollment Pairing TemporaryEnrollmentPairingsApiController#create
POST /api/v1/accounts/:account_id/temporary_enrollment_pairings
Scope:
Create a Temporary Enrollment Pairing.
url:POST|/api/v1/accounts/:account_id/temporary_enrollment_pairings
Request Parameters:
| Parameter | Type | Description | |
|---|---|---|---|
| workflow_state | string | The workflow state of the temporary enrollment pairing. | |
| ending_enrollment_state | string |
The ending enrollment state to be given to each associated enrollment
when the enrollment period has been reached. Defaults to "deleted" if no value is given.
Accepted values are "deleted", "completed", and "inactive".
Allowed values: |
Delete Temporary Enrollment Pairing TemporaryEnrollmentPairingsApiController#destroy
DELETE /api/v1/accounts/:account_id/temporary_enrollment_pairings/:id
Scope:
Delete a temporary enrollment pairing
Returns a
TemporaryEnrollmentPairing
object
url:DELETE|/api/v1/accounts/:account_id/temporary_enrollment_pairings/:id