---
title: "Create repository configuration"
method: POST
path: "/prebuilts-repository/configs"
tags: ["Prebuilts Repository"]
---

# Create repository configuration

`POST /prebuilts-repository/configs`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/prebuilts-repository/configs`
- Auth: none declared

Creates a new repository configuration.

## Request body

- object
  - `name` string
  - `config` IapRepositorySchema: This is the schema for a Repository Configuration used to fetch Prebuilts
    - `enabled` unknown, required
    - `type` unknown, required
    - `hostname` unknown, required
    - `path` unknown, required
    - `credentials` unknown, required
    - `versionStatus` 'current' | 'latest': The version status of the Pre-built Automation in relation to the current IAP version

## Response `200`

The result of the creation process

- PrebuiltsRepositoryCreateRepositoryConfigResponse200
  - `status` 'OK' | 'Created': The status of the API request.
  - `message` string: Message containing either confirmation of the operation or the reason for the failure of the operation.
  - `data` IapRepositorySchema: This is the schema for a Repository Configuration used to fetch Prebuilts
    - `enabled` unknown, required
    - `type` unknown, required
    - `hostname` unknown, required
    - `path` unknown, required
    - `credentials` unknown, required
    - `versionStatus` 'current' | 'latest': The version status of the Pre-built Automation in relation to the current IAP version

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Prebuilts Repository` added
  - api tag `prebuiltsRepository` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/prebuilts-repository/configs/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
