---
title: "Update Pending Student Email"
method: PATCH
path: "/admin/pending-students/{pending_student_id}"
tags: ["admin"]
---

# Update Pending Student Email

`PATCH /admin/pending-students/{pending_student_id}`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/admin/pending-students/{pending_student_id}`
- Auth: OAuth 2 (password, token URL `api/login`)

Fix the address of a student invited into a class. The invitation
sent to the old address stops working; send it again afterwards.

## Path parameters

- `pending_student_id` string, required

## Request body

- AdminPendingStudentEmailUpdate
  - `email` string, email, required

## Response `200`

Successful Response

- AdminPendingStudentResponse
  - `id` string, required
  - `class_id` string, required
  - `first_name` string, required
  - `last_name` string, required
  - `email` string, nullable
  - `email_sent` boolean, required
  - `email_sent_at` string, date-time, nullable

## Other responses

- `404`: Resource not found
- `409`: Business rule violated
- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-14** `1160feeb2038`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/admin/pending-students/:pending_student_id/patch.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
