You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*EnvironmentsApi* | [**get_environment**](docs/EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
114
114
*EnvironmentsApi* | [**patch_environment**](docs/EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
115
115
*EnvironmentsApi* | [**post_environment**](docs/EnvironmentsApi.md#post_environment) | **POST** /projects/{projectKey}/environments | Create a new environment in a specified project with a given name, key, and swatch color.
116
+
*EnvironmentsApi* | [**reset_environment_mobile_key**](docs/EnvironmentsApi.md#reset_environment_mobile_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/mobileKey | Reset an environment's mobile key with an optional expiry time for the old key.
117
+
*EnvironmentsApi* | [**reset_environment_sdk_key**](docs/EnvironmentsApi.md#reset_environment_sdk_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/apiKey | Reset an environment's SDK key with an optional expiry time for the old key.
116
118
*FeatureFlagsApi* | [**copy_feature_flag**](docs/FeatureFlagsApi.md#copy_feature_flag) | **POST** /flags/{projectKey}/{featureFlagKey}/copy | Copies the feature flag configuration from one environment to the same feature flag in another environment.
117
119
*FeatureFlagsApi* | [**delete_feature_flag**](docs/FeatureFlagsApi.md#delete_feature_flag) | **DELETE** /flags/{projectKey}/{featureFlagKey} | Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.
118
120
*FeatureFlagsApi* | [**get_expiring_user_targets**](docs/FeatureFlagsApi.md#get_expiring_user_targets) | **GET** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for feature flag
[**get_environment**](EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
9
9
[**patch_environment**](EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
10
10
[**post_environment**](EnvironmentsApi.md#post_environment) | **POST** /projects/{projectKey}/environments | Create a new environment in a specified project with a given name, key, and swatch color.
11
+
[**reset_environment_mobile_key**](EnvironmentsApi.md#reset_environment_mobile_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/mobileKey | Reset an environment's mobile key with an optional expiry time for the old key.
12
+
[**reset_environment_sdk_key**](EnvironmentsApi.md#reset_environment_sdk_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/apiKey | Reset an environment's SDK key with an optional expiry time for the old key.
11
13
12
14
13
15
# **delete_environment**
@@ -227,3 +229,115 @@ Name | Type | Description | Notes
227
229
228
230
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
project_key ='project_key_example'# str | The project key, used to tie the flags together under one project so they can be managed together.
254
+
environment_key ='environment_key_example'# str | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
255
+
expiry =789# int | An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately (optional)
256
+
257
+
try:
258
+
# Reset an environment's mobile key with an optional expiry time for the old key.
**project_key** | **str**| The project key, used to tie the flags together under one project so they can be managed together. |
270
+
**environment_key** | **str**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
271
+
**expiry** | **int**| An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately | [optional]
272
+
273
+
### Return type
274
+
275
+
[**Environment**](Environment.md)
276
+
277
+
### Authorization
278
+
279
+
[Token](../README.md#Token)
280
+
281
+
### HTTP request headers
282
+
283
+
-**Content-Type**: application/json
284
+
-**Accept**: application/json
285
+
286
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
project_key ='project_key_example'# str | The project key, used to tie the flags together under one project so they can be managed together.
310
+
environment_key ='environment_key_example'# str | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
311
+
expiry =789# int | An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately (optional)
312
+
313
+
try:
314
+
# Reset an environment's SDK key with an optional expiry time for the old key.
**project_key** | **str**| The project key, used to tie the flags together under one project so they can be managed together. |
326
+
**environment_key** | **str**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
327
+
**expiry** | **int**| An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately | [optional]
328
+
329
+
### Return type
330
+
331
+
[**Environment**](Environment.md)
332
+
333
+
### Authorization
334
+
335
+
[Token](../README.md#Token)
336
+
337
+
### HTTP request headers
338
+
339
+
-**Content-Type**: application/json
340
+
-**Accept**: application/json
341
+
342
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
0 commit comments