---
title: "Save the user's landing tab order"
method: PATCH
path: "/personal/users/{userId}/home-tabs"
tags: ["user-data"]
---

# Save the user's landing tab order

`PATCH /personal/users/{userId}/home-tabs`

## Request

- Base URL: `http://localhost:3000/api`
- URL: `http://localhost:3000/api/personal/users/{userId}/home-tabs`
- Auth: HTTP bearer

## Path parameters

- `userId` string, required

## Request body

- object
  - `homeTabs` string[], required

## Response `200`

The saved landing tab order

- object
  - `homeTabs` string[], required

## Other responses

- `400`: Bad request, validation errors
- `401`: unauthorized (you need to have a valid token) and userId must match the subject in token
- `403`: Access token is missing or invalid
- `404`: Resource not found

## Changes

- **2026-11-13** `d5a3297e4da7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/codeverdotdev/apis/codever-api/changes/personal/users/:userId/home-tabs/patch.md)

---

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