Update a cache rule for a proxy database

Update a cache rule for a specific logical database behind a proxy.

Replaces the mutable fields of an existing rule. Output-only fields are ignored.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Organization identifier

string
required

Proxy identifier

string
required

Name of the logical database within the proxy

string
required

Cache rule identifier

Body Params

A cache rule configuring a per-table or per-query TTL override for a logical database behind a proxy.

Exactly one of table or template_hash must be set: table selects a Table rule,
template_hash selects a Query rule. The rule type is derived from which field is set.

string

Hash of the normalized SQL template. Set for Query rules.

string

Table name. Set for Table rules.

string
enum
required

Cache mode to use for this rule.

Allowed:
uint32

TTL value in seconds. Only applicable when mode is QUERY_CACHE_MODE_MANUAL.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json