All URIs are relative to https://app.launchdarkly.com/api/v2
Method | HTTP request | Description |
---|---|---|
DeleteRelayProxyConfig | Delete /account/relay-auto-configs/{id} | Delete a relay proxy configuration by ID. |
GetRelayProxyConfig | Get /account/relay-auto-configs/{id} | Get a single relay proxy configuration by ID. |
GetRelayProxyConfigs | Get /account/relay-auto-configs | Returns a list of relay proxy configurations in the account. |
PatchRelayProxyConfig | Patch /account/relay-auto-configs/{id} | Modify a relay proxy configuration by ID. |
PostRelayAutoConfig | Post /account/relay-auto-configs | Create a new relay proxy config. |
ResetRelayProxyConfig | Post /account/relay-auto-configs/{id}/reset | Reset a relay proxy configuration's secret key with an optional expiry time for the old key. |
DeleteRelayProxyConfig(ctx, id) Delete a relay proxy configuration by ID.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The relay proxy configuration ID |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelayProxyConfig GetRelayProxyConfig(ctx, id) Get a single relay proxy configuration by ID.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The relay proxy configuration ID |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelayProxyConfigs GetRelayProxyConfigs(ctx, ) Returns a list of relay proxy configurations in the account.
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelayProxyConfig PatchRelayProxyConfig(ctx, id, patchDelta) Modify a relay proxy configuration by ID.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The relay proxy configuration ID | |
patchDelta | []PatchOperation | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelayProxyConfig PostRelayAutoConfig(ctx, relayProxyConfigBody) Create a new relay proxy config.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
relayProxyConfigBody | RelayProxyConfigBody | Create a new relay proxy configuration |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelayProxyConfig ResetRelayProxyConfig(ctx, id, optional) Reset a relay proxy configuration's secret key with an optional expiry time for the old key.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The relay proxy configuration ID | |
optional | *RelayProxyConfigurationsApiResetRelayProxyConfigOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RelayProxyConfigurationsApiResetRelayProxyConfigOpts struct
Name | Type | Description | Notes |
---|
expiry | optional.Int64| An expiration time for the old relay proxy configuration key, expressed as a Unix epoch time in milliseconds. By default, the relay proxy configuration will expire immediately |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]