Update a reverse-ETL warehouse export config
curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"account": "xy12345.us-east-1",
"database": "ANALYTICS",
"schema_name": "PUBLIC",
"warehouse_name": "COMPUTE_WH",
"username": "ORBIT_SVC",
"credentials": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----"
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}"
payload = {
"enabled": True,
"account": "xy12345.us-east-1",
"database": "ANALYTICS",
"schema_name": "PUBLIC",
"warehouse_name": "COMPUTE_WH",
"username": "ORBIT_SVC",
"credentials": "-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
enabled: true,
account: 'xy12345.us-east-1',
database: 'ANALYTICS',
schema_name: 'PUBLIC',
warehouse_name: 'COMPUTE_WH',
username: 'ORBIT_SVC',
credentials: '-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----'
})
};
fetch('https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'account' => 'xy12345.us-east-1',
'database' => 'ANALYTICS',
'schema_name' => 'PUBLIC',
'warehouse_name' => 'COMPUTE_WH',
'username' => 'ORBIT_SVC',
'credentials' => '-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}"
payload := strings.NewReader("{\n \"enabled\": true,\n \"account\": \"xy12345.us-east-1\",\n \"database\": \"ANALYTICS\",\n \"schema_name\": \"PUBLIC\",\n \"warehouse_name\": \"COMPUTE_WH\",\n \"username\": \"ORBIT_SVC\",\n \"credentials\": \"-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"account\": \"xy12345.us-east-1\",\n \"database\": \"ANALYTICS\",\n \"schema_name\": \"PUBLIC\",\n \"warehouse_name\": \"COMPUTE_WH\",\n \"username\": \"ORBIT_SVC\",\n \"credentials\": \"-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"account\": \"xy12345.us-east-1\",\n \"database\": \"ANALYTICS\",\n \"schema_name\": \"PUBLIC\",\n \"warehouse_name\": \"COMPUTE_WH\",\n \"username\": \"ORBIT_SVC\",\n \"credentials\": \"-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"warehouse": "snowflake",
"enabled": true,
"account": "xy12345.us-east-1",
"database": "ANALYTICS",
"schema_name": "PUBLIC",
"warehouse_name": "COMPUTE_WH",
"credentials_configured": true,
"field_mappings": null
},
"meta": {
"request_id": "req_01J9Z8",
"timestamp": "2026-08-06T12:00:00.000Z"
}
}CDP
Update a reverse-ETL warehouse export config
Create or update the reverse-ETL export configuration for one warehouse destination. Only the keys you send are merged; scheduler-owned run status is never overwritten. Send credentials to set the encrypted secret (an empty string clears it) and enabled: true to arm the incremental nightly sync. Identifier fields are format-validated per warehouse. Owner / admin / developer only.
PATCH
/
api
/
v1
/
cdp
/
reverse-etl
/
warehouse
/
{warehouse}
Update a reverse-ETL warehouse export config
curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"account": "xy12345.us-east-1",
"database": "ANALYTICS",
"schema_name": "PUBLIC",
"warehouse_name": "COMPUTE_WH",
"username": "ORBIT_SVC",
"credentials": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----"
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}"
payload = {
"enabled": True,
"account": "xy12345.us-east-1",
"database": "ANALYTICS",
"schema_name": "PUBLIC",
"warehouse_name": "COMPUTE_WH",
"username": "ORBIT_SVC",
"credentials": "-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
enabled: true,
account: 'xy12345.us-east-1',
database: 'ANALYTICS',
schema_name: 'PUBLIC',
warehouse_name: 'COMPUTE_WH',
username: 'ORBIT_SVC',
credentials: '-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----'
})
};
fetch('https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'account' => 'xy12345.us-east-1',
'database' => 'ANALYTICS',
'schema_name' => 'PUBLIC',
'warehouse_name' => 'COMPUTE_WH',
'username' => 'ORBIT_SVC',
'credentials' => '-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}"
payload := strings.NewReader("{\n \"enabled\": true,\n \"account\": \"xy12345.us-east-1\",\n \"database\": \"ANALYTICS\",\n \"schema_name\": \"PUBLIC\",\n \"warehouse_name\": \"COMPUTE_WH\",\n \"username\": \"ORBIT_SVC\",\n \"credentials\": \"-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"account\": \"xy12345.us-east-1\",\n \"database\": \"ANALYTICS\",\n \"schema_name\": \"PUBLIC\",\n \"warehouse_name\": \"COMPUTE_WH\",\n \"username\": \"ORBIT_SVC\",\n \"credentials\": \"-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/reverse-etl/warehouse/{warehouse}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"account\": \"xy12345.us-east-1\",\n \"database\": \"ANALYTICS\",\n \"schema_name\": \"PUBLIC\",\n \"warehouse_name\": \"COMPUTE_WH\",\n \"username\": \"ORBIT_SVC\",\n \"credentials\": \"-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"warehouse": "snowflake",
"enabled": true,
"account": "xy12345.us-east-1",
"database": "ANALYTICS",
"schema_name": "PUBLIC",
"warehouse_name": "COMPUTE_WH",
"credentials_configured": true,
"field_mappings": null
},
"meta": {
"request_id": "req_01J9Z8",
"timestamp": "2026-08-06T12:00:00.000Z"
}
}Authorizations
BearerApiKey
Dashboard JWT token from Clerk
Path Parameters
Which warehouse destination's config to update.
Available options:
snowflake, redshift, postgres, databricks, clickhouse Body
application/json
Minimum gap between scheduled runs; omit for the default ~23h cadence.
Secret credential (encrypted at rest). Pass an empty string to clear it.
⌘I