---
title: "Anonymize student"
method: POST
path: "/v2/students/{id}/anonymize/"
tags: ["Students"]
---

# Anonymize student

`POST /v2/students/{id}/anonymize/`

Permanently erase a student's PII. Requires the X-Confirm-Destructive: true header.

**Required OAuth scope:** `students:anonymize`

## Path parameters

- `id` string, required

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `429` — Too Many Requests

---

[API](https://skmtc.net/skilljar/apis/skilljar-api-v2.md) · [All operations](https://skmtc.net/skilljar/apis/skilljar-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skilljar/skilljar-api-v2/revisions/f8025de20169/schema)
