redis
Enable TLS
Changed onThis endpoint enables tls on a database.
post/redis/enable-tls/{id}
Request
- Base URLhttps://api.upstash.com/v2
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The ID of the database to enable TLS
Response
TLS enabled successfully
Example response
{
"database_id": "96ad0856-03b1-4ee7-9666-e81abd0349e1",
"database_name": "MyRedis",
"database_type": "Pay as You Go",
"region": "global",
"port": 6379,
"creation_time": 1752649602,
"state": "active",
"endpoint": "beloved-stallion-58500",
"tls": true,
"db_max_clients": 10000,
"db_max_request_size": 10485760,
"db_disk_threshold": 107374182400,
"db_max_entry_size": 104857600,
"db_memory_threshold": 3221225472,
"db_max_commands_per_second": 10000,
"db_request_limit": 8024278031528737000,
"type": "paid",
"budget": 360,
"primary_region": "us-east-1",
"primary_members": [
"us-east-1"
],
"all_members": [
"us-east-1"
],
"db_resource_size": "L",
"db_type": "pebble",
"db_conn_idle_timeout": 21600000000000,
"db_lua_timeout": 250000000,
"db_lua_credits_per_min": 10000000000,
"db_store_max_idle": 900000000000,
"db_max_loads_per_sec": 1000000,
"db_acl_enabled": "false",
"db_acl_default_user_status": "true",
"replicas": 5,
"user_email": "example@upstash.com",
"read_regions": [
"us-east-2"
],
"securityAddons": {
"ipWhitelisting": false,
"vpcPeering": false,
"privateLink": false,
"tlsMutualAuth": false,
"encryptionAtRest": false
},
"prometheus_enabled": "false"
}Changes
- warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning