---
title: "SetDotfilesConfiguration"
method: POST
path: "/gitpod.v1.UserService/SetDotfilesConfiguration"
tags: ["gitpod.v1.UserService"]
---

# SetDotfilesConfiguration

`POST /gitpod.v1.UserService/SetDotfilesConfiguration`

Sets the dotfiles configuration for a user.

 Use this method to:
 - Configure user dotfiles
 - Update dotfiles settings

 ### Examples

 - Set dotfiles configuration:

   Sets the dotfiles configuration for the current user.

   ```yaml
   {
     "repository": "https://github.com/gitpod-io/dotfiles",
   }
   ```

 - Remove dotfiles:

   Removes the dotfiles for the current user.

   ```yaml
   {}
   ```

## Request body

- GitpodV1SetDotfilesConfigurationRequest
  - `repository` string, uri

## Response `200`

Success

- GitpodV1SetDotfilesConfigurationResponse

## Other responses

- `default` — Error

## Changes

> 18 revisions in range; 1 could not be searched.

- **2025-02-21** `3655d5ad0ac3` — 1 warning
  - the `repository` request property's maxLength was set to `255`
- **2025-02-21** `064a191bc556` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.UserService/SetDotfilesConfiguration/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
