Project Groups
put/project-groups/{group_id}/projects/{project_id}/repository-inheritance

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}/projects/{project_id}/repository-inheritance
  • Auth: HTTP bearer

Path parameters

group_idinteger required

Project group ID

project_idinteger required

Project ID

Request body

inheritboolean required

True: the project follows the group's repository and branch (and is pointed at them now, keeping its own directory). False: it keeps its current git settings and stops following.

Response

Inheritance updated

created_atstring date-time required
descriptionstring nullable
idinteger required
namestring required
slugstring required
updated_atstring date-time required

Example response

{
  "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