LogoFreestyle
API ReferenceGit

Update dev server configuration

Update the dev server configuration for a repository and branch.

PUT
/git/v1/repo/{repo_id}/dev-server-configuration

Path Parameters

repo_id*string

Repository ID

Formatuuid

Request Body

application/json

devCommand?string|null
installCommand?string|null
timeout?integer|null
Formatint32
envVars?|null
ports?|null
preset?null|string
systemd?null|
users?|null
groups?|null
additionalFiles?|null
webTerminal?boolean|null
webVscode?boolean|null
additionalRepositories?|null
branch?string|null

Response Body

curl -X PUT "https://api.freestyle.sh/git/v1/repo/497f6eca-6276-4993-bfeb-53cbbbba6f08/dev-server-configuration" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
Empty

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.