---
title: "Github Select Repository"
method: PUT
path: "/integrations/github/repository"
tags: ["github"]
---

# Github Select Repository

`PUT /integrations/github/repository`

Name the repository that builds this property's site.

The submitted ``full_name`` is re-validated against the installation's own
repository list rather than trusted. The body is operator-supplied, and a
repository the installation cannot reach would otherwise be stored, then
fail inside a tool call as an opaque permission error instead of here as a
clear 404.

## Request body

- GitHubSelectRepositoryRequest
  - `property_id` string, uuid, required
  - `full_name` string, required

## Response `200`

Successful Response

- GitHubConnectionStatus — Connection state for one property, for the UI.
  - `property_id` string, uuid, required
  - `property_name` string, required
  - `tenant_integration_id` string, uuid, required
  - `status` string, required
  - `account_login` string, nullable
  - `repo_full_name` string, nullable
  - `repo_default_branch` string, nullable
  - `connected_at` string, date-time, nullable

## Other responses

- `404` — Error
- `409` — Error
- `422` — Validation Error

## Changes

- **2026-09-03** `d65b8fefae34` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/integrations/github/repository/put.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/a9141b6e4e7e/schema)
