Update a destination's details.
Important Notes:
- Requires scope
dwh_transfers_write - Your account must have
dwh.transfer.editpermission. See roles and permissions.
Bearer token authentication. Include the token in the Authorization header:
Authorization: Bearer <your-token>
Unique identifier of the team
Unique identifier for the destination
Destination configuration changes
{
"type": "DWH_SNOWFLAKE",
"display_name": "Updated Snowflake Destination",
"auth_method": "AUTH_METHOD_KEY_PAIR",
"fields": {
"hostname": "updated-domain.my-region.snowflakecomputing.com",
"warehouse": "PRODUCTION_WH",
"database_name": "PROD_DB",
"schema": "PUBLIC",
"role": "SYSADMIN",
"username": "PROD_USER"
}
}Destination type (e.g., DWH_SNOWFLAKE, DWH_BIGQUERY)
Human-readable name for the destination
Authentication method for the destination
Destination-specific configuration fields (varies by destination type)
New secret value for credential rotation. Field name varies by auth method (e.g., new_private_key for key-pair auth)
Destination updated successfully
API request ID
Unique identifier for the destination
Human-readable name for the destination
Destination type identifier
Display name for the destination type
URL to the destination type icon
URL for connection testing
URL for creating a destination
URL template for updating a destination
Application identifier
Whether this is an internal destination type
Available settings for this destination type
Unique identifier for the setting
Display label for the setting
Current value of the setting (type varies based on input_type)
Type of input control
Whether this setting is required
Available options for select/radio inputs
Help text for the setting
URL to additional help documentation
Additional notes about the setting
Group identifier for organizing settings
Display label for the group
Conditional display rules
Available authentication methods
Authentication method identifier
Display label for the authentication method
Whether this is the default authentication method
Configuration settings for the destination
Unique identifier for the setting
Display label for the setting
Current value of the setting (type varies based on input_type)
Type of input control
Whether this setting is required
Available options for select/radio inputs
Help text for the setting
URL to additional help documentation
Additional notes about the setting
Group identifier for organizing settings
Display label for the group
Conditional display rules
Bad Request - The request was invalid or cannot be served.
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "INVALID_PARAMETER",
"message": "Invalid Parameter",
"description": "The request contains invalid or malformed parameters."
}
}API request ID
Error code
Error message
Error description
Unauthorized - Authentication is required and has failed or has not been provided.
{
"meta": {
"request_id": "019461A0-0000-7000-8000-000000000000"
},
"error": {
"code": "API_KEY_INVALID",
"message": "Invalid API key",
"description": "Provided API key was invalid."
}
}API request ID
Error code
Error message
Error description
Forbidden - The request is understood, but access is not allowed
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "ACCESS_DENIED",
"message": "Access Denied",
"description": "You do not have permission to perform this operation."
}
}API request ID
Error code
Error message
Error description
Destination not found
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "NOT_FOUND",
"message": "Not Found",
"description": "The requested destination could not be found or you do not have access to it."
}
}API request ID
Error code
Error message
Error description
Invalid destination configuration
API request ID
Error code
Error message
Error description
Too Many Requests - Rate limit exceeded.
{
"meta": {
"request_id": "019461A0-0000-7000-8000-000000000000"
},
"error": {
"code": "API_ROW_QUOTA_EXCEEDED",
"message": "Row quota exceeded",
"description": "You have exceeded your row-quota limit of rows for this month. Please log into Supermetrics Hub at https://hub.supermetrics.com/ and upgrade your plan, or contact our Supermetrics support team."
}
}API request ID
Error code
Error message
Error description
Internal Server Error - An error occurred on the server.
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal Server Error",
"description": "An unexpected error occurred. Please try again later or contact support."
}
}API request ID
Error code
Error message
Error description