Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Body

application/json

One repository object, or an array of repository objects to add in one request.

full_name
string
required
provider
string
default:github
installation_id
integer | null
tags
string[]

Enterprise asset labels for RBAC scoping. Requires the Enterprise plan.

business_unit
string | null

Enterprise asset label for RBAC scoping. Requires the Enterprise plan.

Response

Repositories added.

repositories
object[]
required