---
title: "Creates a password reset code for a member"
method: POST
path: "/ocapi/v1/members/password-reset-code"
tags: ["Password Reset"]
---

# Creates a password reset code for a member

`POST /ocapi/v1/members/password-reset-code`

Successful response returned regardless of the existence of the provided email/username in Loyalty.


An email with further instructions for completing the request will be sent to the member
#### Licenses Required


- Vista.Ocapi

## Headers

- `Connect-Region-Code` string

## Request body

- OcapiV1LoyaltyMembersPasswordResetMemberPasswordResetCodeCreate — Represents a request to create a password reset code
  - `email` string, nullable — Gets the email address
  - `username` string, nullable — Gets the username

## Response `204`

Password reset code created and emailed to the member.

## Other responses

- `400` — Request property is invalid or missing.

---

[API](https://skmtc.net/vista/apis/vista-digital-platform.md) · [All operations](https://skmtc.net/vista/apis/vista-digital-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vista/vista-digital-platform/revisions/3a81c0aed14e/schema)
