docs/RelayProxyConfigurationsApi.md in launchdarkly_api-6.0.1 vs docs/RelayProxyConfigurationsApi.md in launchdarkly_api-7.0.0
- old
+ new
@@ -77,11 +77,11 @@
[ApiKey](../README.md#ApiKey)
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: Not defined
+- **Accept**: application/json
## get_relay_proxy_config
> <RelayAutoConfigRep> get_relay_proxy_config(id)
@@ -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::StatementRep.new]}) # RelayAutoConfigPost |
+relay_auto_config_post = LaunchDarklyApi::RelayAutoConfigPost.new({name: 'name_example', policy: [LaunchDarklyApi::StatementRep.new({effect: 'effect_example'})]}) # RelayAutoConfigPost |
begin
# Create a new Relay Proxy config
result = api_instance.post_relay_auto_config(relay_auto_config_post)
p result