Project Groups
put/project-groups/{group_id}/repository
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/project-groups/{group_id}/repository
- Auth: HTTP bearer
Path parameters
group_idinteger required
Project group ID
Request body
Example request
{
"main_branch": "main",
"public_provider": "github",
"repo_name": "shop",
"repo_owner": "acme"
}Response
Repository set and written through to every project that follows it; see services for per-project outcomes
Example response
{
"group": {
"created_at": "2026-09-28T12:15:47.609192Z",
"projects": [
{
"directory": "apps/web",
"last_deployment": "2026-09-28T12:15:47.609192Z",
"main_branch": "main"
}
],
"repository": {
"main_branch": "main",
"public_provider": "github",
"repo_name": "shop",
"repo_owner": "acme"
},
"updated_at": "2026-09-28T12:15:47.609192Z"
}
}Changes
- info
endpoint added
- info