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

Connect a self-hosted or cloud SCM with a personal access token.

access_token
string
required

Personal access token.

instance_url
string

Base URL for self-hosted instances (GitLab).

account_email
string<email>

Account email address (Bitbucket).

installation_id
integer

Existing installation ID to update, if any.

Response

Validation result.

valid
boolean