---
title: "Set the display name for the authorized user."
method: PATCH
path: "/v1/users/{userId}/display-names"
tags: ["User profiles", "Users"]
---

# Set the display name for the authorized user.

`PATCH /v1/users/{userId}/display-names`

## Path parameters

- `userId` integer, required

## Request body

- RobloxUsersApiSetDisplayNameRequest — Request model for changing a display name.
  - `newDisplayName` string — The users new display name.

## Response `200`

OK

- RobloxWebWebAPIApiEmptyResponseModel

## Other responses

- `400` — 1: Display name is too short 2: Display name is too long 3: Display name contains invalid characters 4: Display name has been moderated 8: Display name has too many combinations of character sets
- `401` — 0: Authorization has been denied for this request.
- `403` — 0: Token Validation Failed 7: The user id is invalid.
- `429` — 5: Display name updates for this user have been throttled

---

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