Skip to main content

Create destination

POST 

/destinations

Create destination

Request

Body

required
    oneOf
    name stringrequired
    type stringrequired

    Possible values: [postgres]

    config objectrequired
    host stringrequired
    port numberrequired
    database stringrequired
    schema stringrequired
    user stringrequired
    ssl_mode string

    Possible values: [disable, no-verify, prefer, require, verify-ca, verify-full]

    password stringrequired
    server_ca_cert string
    client_cert string
    client_key string
    server_name string

Responses

Destination created

Schema
    oneOf
    id stringrequired
    application_id stringrequired
    name stringrequired
    type stringrequired

    Possible values: [postgres]

    config objectrequired
    host stringrequired
    port numberrequired
    database stringrequired
    schema stringrequired
    user stringrequired
    ssl_mode string

    Possible values: [disable, no-verify, prefer, require, verify-ca, verify-full]

    version numberrequired

    A monotonically increasing version number of the destination configuration

Loading...