---
title: "Set student password"
method: POST
path: "/v2/students/{id}/set-password/"
tags: ["Students"]
---

# Set student password

`POST /v2/students/{id}/set-password/`

Set a student's password directly. Password must meet the organization's requirements.

**Required OAuth scope:** `students:manage-password`

## Path parameters

- `id` string, required

## Request body

- SetPasswordRequestEnvelope — JSON:API envelope for POST /v2/students/{id}/set-password/ requests.
  - `data` SetPasswordData, required — JSON:API data wrapper for set-password.
    - `type` 'password-sets', required — Must be "password-sets".
    - `attributes` SetPasswordAttributes, required — Attributes for POST /v2/students/{id}/set-password/.
      - `password` string, required — New password for the student. Must meet the organization's password policy.

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Entity

---

[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)
