---
title: "Map code repo to task tracking projects"
method: POST
path: "/task_tracking/mapCodeReposToProjects"
---

# Map code repo to task tracking projects

`POST /task_tracking/mapCodeReposToProjects`

Map code repo to task tracking projects

## Request body

- object
  - `project_repos_map` object, required — An object representing the link between task tracking projects and code repositories. The keys of the object are the project ids of the task tracker projects as they are in the task tracker integration, the value is an array of code repository ids that need to be mapped to the project
    - `project_id` string[] — A list code repository id's that need to be linked to the project id set as the key.
  - `integration_id` integer — Optional. The id of the task tracker integration when multiple integrations are available

## Response `200`

The code repos has been mapped to the task tracker projects

- 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/revisions/5445e7c21137/schema)
