Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint. Include as Authorization: Bearer <token>.

Body

application/json

Connect a self-hosted/cloud SCM via personal access token.

token
string
required

Personal access token.

instance_url
string

Base URL for self-hosted instances (GitLab).

workspace
string

Workspace/owner slug (Bitbucket).

Response

Validation result.

valid
boolean