Skip to main content
PATCH
Update build and Git settings

Autorisations

Authorization
string
header
requis

API token (olab_…) created in Settings → API tokens or with orbitlab login.

En-têtes

X-OrbitLab-Org
string

Organization to act on (id or slug) for tokens that can access several organizations. Defaults to your first organization.

Paramètres de chemin

id
string
requis

Service id.

Corps

application/json
repoUrl
string

Repository URL.

rootDir
string

App directory.

prodBranch
string

Production branch.

buildCmd
string

Build command.

startCmd
string

Start command.

env
object

Map of variable name to value.

Réponse

success.

The response is of type object.