Skip to main content
PUT
Update the default git reference of a repository in a project

Authorizations

X-Domino-Api-Key
string
header
required

Path Parameters

projectId
string
required

ID of the project the repository belongs to

repositoryId
string
required

ID of the repository to update. Use _ to refer to the project's main repository.

Body

application/json

The new default git reference

refType
enum<string>
required
Available options:
head,
branch,
tag,
commit
value
string

Response

Success

defaultRef
object
required
metadata
object
required
Last modified on October 1, 2026