curl --request PATCH \
--url https://us.infisical.com/api/v1/secret-syncs/octopus-deploy/{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": {
"spaceId": "<string>",
"scope": "project",
"projectId": "<string>",
"spaceName": "<string>",
"projectName": "<string>",
"scopeValues": {
"environments": [
"<string>"
],
"roles": [
"<string>"
],
"machines": [
"<string>"
],
"processes": [
"<string>"
],
"actions": [
"<string>"
],
"channels": [
"<string>"
]
}
}
}
'{
"secretSync": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"projectId": "<string>",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"syncOptions": {
"initialSyncBehavior": "overwrite-destination",
"keySchema": "<string>",
"disableSecretDeletion": true
},
"connection": {
"app": "octopus-deploy",
"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": "octopus-deploy",
"destinationConfig": {
"spaceId": "<string>",
"scope": "project",
"projectId": "<string>",
"spaceName": "<string>",
"projectName": "<string>",
"scopeValues": {
"environments": [
"<string>"
],
"roles": [
"<string>"
],
"machines": [
"<string>"
],
"processes": [
"<string>"
],
"actions": [
"<string>"
],
"channels": [
"<string>"
]
}
},
"description": "<string>",
"isAutoSyncEnabled": true,
"version": 1,
"folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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"
}
}Update the specified Octopus Deploy Sync.
curl --request PATCH \
--url https://us.infisical.com/api/v1/secret-syncs/octopus-deploy/{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": {
"spaceId": "<string>",
"scope": "project",
"projectId": "<string>",
"spaceName": "<string>",
"projectName": "<string>",
"scopeValues": {
"environments": [
"<string>"
],
"roles": [
"<string>"
],
"machines": [
"<string>"
],
"processes": [
"<string>"
],
"actions": [
"<string>"
],
"channels": [
"<string>"
]
}
}
}
'{
"secretSync": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"projectId": "<string>",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"syncOptions": {
"initialSyncBehavior": "overwrite-destination",
"keySchema": "<string>",
"disableSecretDeletion": true
},
"connection": {
"app": "octopus-deploy",
"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": "octopus-deploy",
"destinationConfig": {
"spaceId": "<string>",
"scope": "project",
"projectId": "<string>",
"spaceName": "<string>",
"projectName": "<string>",
"scopeValues": {
"environments": [
"<string>"
],
"roles": [
"<string>"
],
"machines": [
"<string>"
],
"processes": [
"<string>"
],
"actions": [
"<string>"
],
"channels": [
"<string>"
]
}
},
"description": "<string>",
"isAutoSyncEnabled": true,
"version": 1,
"folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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"
}
}The ID of the Octopus Deploy Sync to be updated.
The updated name of the Octopus Deploy Sync. Must be slug-friendly.
1 - 64The updated ID of the Octopus Deploy Connection to use for syncing.
The updated description of the Octopus Deploy Sync.
256The updated slug of the project environment to sync secrets from.
1 - 64The updated folder path to sync secrets from.
1Whether secrets should be automatically synced when changes occur at the source location or not.
Optional parameters to modify how secrets are synced.
Show child attributes
Show child attributes
Default Response
Show child attributes
Was this page helpful?