Skip to content

Commit d9235df

Browse files
authored
DOC-5164 RS: Added endpoint to configure proxy policy REST API example (#1574)
1 parent 9e85c34 commit d9235df

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

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

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

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

8083
### Command-line method

0 commit comments

Comments
 (0)