Skip to main content
POST
Create a repository.

Authorizations

Authorization
string
header
required

Vers API key (VERS_API_KEY) sent as Authorization: Bearer <key>.

Body

application/json

Request body for POST /api/v2/repositories

name
string
required

The name of the repository (alphanumeric, hyphens, underscores, dots, 1-64 chars)

description
string | null

Optional description of the repository

Response

Repository created

Response body for POST /api/v2/repositories

name
string
required

The name of the repository

repo_id
string<uuid>
required

The ID of the newly created repository