patch https://{app}.{filespin}.{io}/api/v1/user/settings/update?update_key=database
Update database by sending below payload. All keys are mandatory.
REQUEST PAYLOAD
{
"key": "database",
"value": {
"db_url": "mysql://USER:PASSWORD@DB_HOST/DATABASE"
}
}All events listed in Webhooks Events section are auto-enabled for DB export
REQUEST PARAMETERS
| Parameters | Type | Description |
|---|---|---|
key | string | Set to database |
value.db_url | string | Can be an empty string |