Skip to content

Commit a7e5e6e

Browse files
committed
Copied updated configure proxy policy REST API example with endpoint to RS 7.8 version
1 parent 1cce357 commit a7e5e6e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

content/operate/rs/7.8/databases/configure/proxy-policy.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,14 @@ POST /v1/bdbs
7171
}
7272
```
7373

74-
To change an existing database's proxy policy, you can use an [update database configuration]({{<relref "/operate/rs/7.8/references/rest-api/requests/bdbs#put-bdbs">}}) REST API request:
74+
To change the proxy policy of an existing database and endpoint, you can use an [update database configuration]({{<relref "/operate/rs/7.8/references/rest-api/requests/bdbs#put-bdbs">}}) REST API request:
7575

7676
```sh
7777
PUT /v1/bdbs/<database-id>
78-
{ "proxy_policy": "single | all-master-shards | all-nodes" }
78+
{
79+
"proxy_policy": "single | all-master-shards | all-nodes",
80+
"endpoint": <endpoint_uid>
81+
}
7982
```
8083

8184
### Command-line method

0 commit comments

Comments
 (0)