# Username model

A change of your username: only ever your own.

## Fields

| Field | Type | Present | Notes |
|---|---|---|---|
| `id` | `integer` |  |  |
| `userId` | `integer` |  |  |
| `oldUsername` | `string` |  |  |
| `newUsername` | `string` |  |  |
| `createdAt` | `date-time` |  |  |

## Returned by

The endpoints whose `data` holds a Username as it is, and where.

- [`GET /users/:userId/usernames`](https://hematite.gg/docs/developers/reference/users#get-users-userid-usernames), in `data[]`

## Example

```json
{
  "id": 1,
  "userId": 1,
  "oldUsername": "stella",
  "newUsername": "nova",
  "createdAt": "2026-11-10T18:24:00.000Z"
}
```
