PATCH
/
api
/
v1
/
secret-syncs
/
databricks
/
{syncId}
cURL
curl --request PATCH \
  --url https://us.infisical.com/api/v1/secret-syncs/databricks/{syncId} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "description": "<string>",
  "environment": "<string>",
  "secretPath": "<string>",
  "isAutoSyncEnabled": true,
  "syncOptions": {
    "initialSyncBehavior": "overwrite-destination",
    "keySchema": "<string>",
    "disableSecretDeletion": true
  },
  "destinationConfig": {
    "scope": "<string>"
  }
}'
{
  "secretSync": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "isAutoSyncEnabled": true,
    "version": 1,
    "projectId": "<string>",
    "folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "syncStatus": "<string>",
    "lastSyncJobId": "<string>",
    "lastSyncMessage": "<string>",
    "lastSyncedAt": "2023-11-07T05:31:56Z",
    "importStatus": "<string>",
    "lastImportJobId": "<string>",
    "lastImportMessage": "<string>",
    "lastImportedAt": "2023-11-07T05:31:56Z",
    "removeStatus": "<string>",
    "lastRemoveJobId": "<string>",
    "lastRemoveMessage": "<string>",
    "lastRemovedAt": "2023-11-07T05:31:56Z",
    "syncOptions": {
      "initialSyncBehavior": "overwrite-destination",
      "keySchema": "<string>",
      "disableSecretDeletion": true
    },
    "connection": {
      "app": "databricks",
      "name": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "environment": {
      "slug": "<string>",
      "name": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "folder": {
      "id": "<string>",
      "path": "<string>"
    },
    "destination": "databricks",
    "destinationConfig": {
      "scope": "<string>"
    }
  }
}

Path Parameters

syncId
string<uuid>
required

The ID of the Databricks Sync to be updated.

Body

application/json
name
string

The updated name of the Databricks Sync. Must be slug-friendly.

Required string length: 1 - 64
connectionId
string<uuid>

The updated ID of the Databricks Connection to use for syncing.

description
string | null

The updated description of the Databricks Sync.

Maximum length: 256
environment
string

The updated slug of the project environment to sync secrets from.

Required string length: 1 - 64
secretPath
string

The updated folder path to sync secrets from.

Minimum length: 1
isAutoSyncEnabled
boolean

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

syncOptions
object

Optional parameters to modify how secrets are synced.

destinationConfig
object

Response

Default Response

secretSync
object
required