Skip to content
Ona Docs

SetDotfilesConfiguration

users.dotfiles.set(DotfileSetParams**kwargs) -> object
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.

    {
      "repository": "https://github.com/gitpod-io/dotfiles",
    }
  • Remove dotfiles:

    Removes the dotfiles for the current user.

    {}
ParametersExpand Collapse
repository: Optional[str]
formaturi
maxLength255
ReturnsExpand Collapse
object

SetDotfilesConfiguration

import os
from gitpod import Gitpod

client = Gitpod(
    bearer_token=os.environ.get("GITPOD_API_KEY"),  # This is the default and can be omitted
)
response = client.users.dotfiles.set()
print(response)
{}
Returns Examples
{}