---
title: "Reset Customer Username"
method: POST
path: "/v1/shops/{shopId}/customers/{customerId}/username/reset"
tags: ["Customers"]
---

# Reset Customer Username

`POST /v1/shops/{shopId}/customers/{customerId}/username/reset`

## Request

- Base URL: `https://api.sellauth.com`
- URL: `https://api.sellauth.com/v1/shops/{shopId}/customers/{customerId}/username/reset`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sellauth/apis/sellauth-api/docs/v1/shops/:shopId/customers/:customerId/username/reset/post.ts> (a function with typed inputs; its response is checked against the schema)

Removes the username a customer shows on their reviews, and optionally locks them from setting a new one. Send lock false to unlock.

## Request body

- object
  - `lock` boolean: Stop the customer from setting a username until unlocked.

## Response `200`

## Changes

- **2026-10-13** `5cbdf10d05ab`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sellauth/apis/sellauth-api/changes/v1/shops/:shopId/customers/:customerId/username/reset/post.md)

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) - [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sellauth/apis/sellauth-api/revisions/156a9aef5e98?raw)
