Secret Syncs

POST /api/v1/secret-syncs/teamcity

Changed on

Create a TeamCity Sync for the specified project environment.

Request

Request body

namestring required

The name of the TeamCity Sync to create. Must be slug-friendly.

projectIdstring required

The ID of the project to create the sync in.

descriptionstring nullable

An optional description for the TeamCity Sync.

connectionIdstring uuid required

The ID of the TeamCity Connection to use for syncing.

environmentstring required

The slug of the project environment to sync secrets from.

secretPathstring required

The folder path to sync secrets from.

includeAllSubFoldersboolean

Whether to sync secrets from folders beneath the source path as well. Defaults to false.

isAutoSyncEnabledboolean

Whether secrets should be automatically synced when changes occur at the source location or not.

Response

Default Response

Changes

    • warning

      removed the request property /

    • warning

      removed the optional property // from the response with the status

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status