vcr

Create a repository

Changed on

Create a container registry repository for a project.

post/v1/vcr/repository

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/vcr/repository
  • Auth: HTTP bearer

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

projectIdstring required

Project ID or name (slug) within the authenticated team. IDs take precedence over names. Missing or empty values return HTTP 400.

namestring required

Single Docker repository name component.

Example request

{
  "name": "nginx"
}

Response

Example response

{
  "repository": {
    "createdAt": "2026-06-30T10:00:00.000Z",
    "id": "repo_a1b2c3d4e5f6",
    "name": "my-app",
    "projectId": "prj_a1b2c3d4e5f6",
    "updatedAt": "2026-06-30T10:00:00.000Z"
  }
}

Changes