---
title: "Change password with a one-time passcode"
method: POST
path: "/api/v2/users/otp/change-password"
tags: ["Authorization"]
---

# Change password with a one-time passcode

`POST /api/v2/users/otp/change-password`

## Request body

- CodersdkChangePasswordWithOneTimePasscodeRequest
  - `email` string, email, required
  - `one_time_passcode` string, required
  - `password` string, required

## Response `204`

No Content

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/versions/56b6e9f08540/schema)
