Skip to main content
POST
Link GitHub repository to project

Path Parameters

organizationId
string<uuid>
required

The unique identifier of the organization that owns the project

Example:

"550e8400-e29b-41d4-a716-446655440000"

projectId
string<uuid>
required

The unique identifier of the project to link with the GitHub repository

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
repositoryId
string
required

Repository identifier

Example:

"uuid-value"

scanBranch
string

Branch to scan (defaults to repository default branch if not specified)

Example:

"main"

Response

Repository linked successfully