Skip to main content
PATCH
Update a destination

Authorizations

Authorization
string
header
required

Bearer API key, prefixed with fdk_.

Path Parameters

id
integer
required

Source or destination ID.

Body

application/json

All fields are optional. Fields left out keep their saved values.

name
string
tunnel_id
integer | null

Set to null to remove the tunnel.

config
object

Settings to change, merged into the saved settings. Leave out secrets that should not change rather than sending them empty.

Response

The updated destination.

A source or destination. Credentials are never returned.

id
integer
identifier
string
name
string
type
string
Example:

"postgres"

variant
string
Example:

"default"

status
enum<string>
Available options:
active,
errored,
archived
tunnel_id
integer

SSH tunnel used to reach the connection, if any.

config
object

Non-secret settings, such as host, port, and database.

created_at
string<date-time>
updated_at
string<date-time>