---
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

---

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