Generate warehouse destination setup script

Generate the SQL setup script required to prepare a warehouse for LaunchDarkly Data Export. For Snowflake, this also generates a key pair.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projKeystringRequiredformat: "string"
The project key
envKeystringRequiredformat: "string"
The environment key
kindstringRequiredformat: "string"

The destination kind (snowflake-v2, redshift)

Response

Generate warehouse destination setup script response
scriptstring
The SQL setup script to run in your data warehouse
publicKeystring

The RSA public key (Snowflake only) to store as the destination public_key

publicKeyPkcs8string

The PKCS8 RSA public key (Snowflake only)

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error