Skip to main content
POST
Sync All Projects to SCM
This endpoint is experimental. It may change or be removed without notice, and is not covered by API stability guarantees.

Authorizations

Authorization
string
header
required

Get access to data with your API token. Example header:

Authorization: Bearer 2991e2fb4b540fe75b8f90677b0b892b6314e4961cb001fe6eb452eee248a628

The token can be provisioned from the Tokens section in your Settings, and requires explicitly enabling Web API access.

Path Parameters

deploymentId
integer<int64>
required

Body

application/json
deploymentId
integer<int64>
withCodeAccess
boolean

Optional. When true, only projects with code access are synced. When omitted or false (the default), all projects are synced. This parameter is not required to start a sync.

Example:

true

Response

202 - application/json

Accepted

task_token_jwt
string