docs/RelayProxyConfigurationsApi.md in launchdarkly_api-13.0.0 vs docs/RelayProxyConfigurationsApi.md in launchdarkly_api-14.0.0
- old
+ new
@@ -225,11 +225,11 @@
> <RelayAutoConfigRep> patch_relay_auto_config(id, patch_with_comment)
Update a Relay Proxy config
-Update a Relay Proxy config using the JSON patch format.
+Update a Relay Proxy configuration. Updating a configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).
### Examples
```ruby
require 'time'
@@ -314,10 +314,10 @@
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['ApiKey'] = 'Bearer'
end
api_instance = LaunchDarklyApi::RelayProxyConfigurationsApi.new
-relay_auto_config_post = LaunchDarklyApi::RelayAutoConfigPost.new({name: 'name_example', policy: [LaunchDarklyApi::Statement.new({effect: 'effect_example'})]}) # RelayAutoConfigPost |
+relay_auto_config_post = LaunchDarklyApi::RelayAutoConfigPost.new({name: 'name_example', policy: [LaunchDarklyApi::Statement.new({effect: 'allow'})]}) # RelayAutoConfigPost |
begin
# Create a new Relay Proxy config
result = api_instance.post_relay_auto_config(relay_auto_config_post)
p result