Create repository

Create a repository.

Repos collect Full scans and Diff scans and are typically associated with a git repo.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:

  • repo:create
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The slug of the organization

Body Params
string

The name of the repository

string | null

The description of the repository

string | null

The homepage URL of the repository

string
enum
Defaults to private

The visibility of the repository

Allowed:
boolean
Defaults to false

Whether the repository is archived or not

string | null
Defaults to main

The default branch of the repository

string

The workspace of the repository

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json