Databases
Turn the REST API on (or change public access): apps using @vercel/kv, @upstash/redis or @upstash/ratelimit work unchanged. Returns a read-write and a read-only token, shown once; earlier tokens stop working.
post/databases/{databaseId}/rest
Request
- Base URL: https://hostingsurge.com/api/v1
- URL: https://hostingsurge.com/api/v1/databases/{databaseId}/rest
- Auth: one of:
- HTTP bearer
- API key in cookie __Host-hs_session
Path parameters
databaseIdstring uuid required
Request body
Response
REST API with new tokens
Changes
No recorded changes to this operation across all 1 revision of this API.