---
title: "Link code repository to container"
method: POST
path: "/containers/linkCodeRepo"
---

# Link code repository to container

`POST /containers/linkCodeRepo`

Link code repository to container

## Request body

- object
  - `container_repo_id` integer, required — The ID of the container repo
  - `code_repo_id` integer, required — The ID of the code repository

## Response `200`

The code repository has been linked to the container.

- object
  - `success` integer — The integer 1 indicating success

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/versions/5445e7c21137/schema)
